Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008926/0.0008926, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8857/0.8857, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.251e-05, allocations: 3.125 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002576/0.002589, allocations: 2.717 MB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.003464, allocations: 0.6972 MB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.003576, allocations: 7.938 kB / 328 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.003702, allocations: 43.56 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.003844, allocations: 111.1 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.00406, allocations: 87.83 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002897/0.00435, allocations: 406.1 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.004505, allocations: 87.67 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002629/0.004768, allocations: 235.3 kB / 328.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.004893, allocations: 127.6 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.00493, allocations: 36 kB / 329.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.241e-05/0.004962, allocations: 40 kB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.005013, allocations: 79.72 kB / 329.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.535e-05/0.005098, allocations: 115.7 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.005414, allocations: 446.6 kB / 329.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005416, allocations: 0 / 329.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005417, allocations: 0 / 329.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005421, allocations: 4 kB / 329.8 MB, free: 10.62 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007593/0.006181, allocations: 0.5808 MB / 330.3 MB, free: 10 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006217, allocations: 15.98 kB / 330.4 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.518e-05/0.006262, allocations: 58.67 kB / 330.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/0.006312, allocations: 36.7 kB / 330.5 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.006597, allocations: 245.1 kB / 330.7 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.006615, allocations: 16.88 kB / 330.7 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.006648, allocations: 24.38 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.007028, allocations: 324 kB / 331.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.007037, allocations: 4.125 kB / 331.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.007059, allocations: 20.11 kB / 331.1 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.007067, allocations: 8 kB / 331.1 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003571/0.007424, allocations: 249.8 kB / 331.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.008522, allocations: 1.001 MB / 332.3 MB, free: 7.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.008919, allocations: 202.6 kB / 332.5 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.009054, allocations: 84.8 kB / 332.6 MB, free: 7.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.009071, allocations: 4 kB / 332.6 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.009321, allocations: 221.8 kB / 332.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.001e-06/0.009322, allocations: 0 / 332.8 MB, free: 7.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007413/0.01006, allocations: 388.9 kB / 333.2 MB, free: 6.957 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.01011, allocations: 114.8 kB / 333.3 MB, free: 6.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.01029, allocations: 273.8 kB / 333.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.01031, allocations: 25.7 kB / 333.6 MB, free: 6.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.01039, allocations: 196.1 kB / 333.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.01043, allocations: 47.58 kB / 333.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.01048, allocations: 49.94 kB / 333.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.01056, allocations: 334.8 kB / 334.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.01072, allocations: 113.9 kB / 334.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.01093, allocations: 272.6 kB / 334.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.01123, allocations: 282 kB / 334.9 MB, free: 5.121 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01123, allocations: 4 kB / 334.9 MB, free: 5.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004909/0.01173, allocations: 409.4 kB / 335.3 MB, free: 4.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.01175, allocations: 37.64 kB / 335.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.01176, allocations: 7.984 kB / 335.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.01195, allocations: 61.02 kB / 335.4 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.01206, allocations: 55.89 kB / 335.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.01305, allocations: 1.484 MB / 336.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.01318, allocations: 47.78 kB / 337 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.0132, allocations: 15.94 kB / 337 MB, free: 2.852 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.0133, allocations: 145.8 kB / 337.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.01332, allocations: 27.81 kB / 337.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.01335, allocations: 33.83 kB / 337.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.01335, allocations: 0 / 337.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01335, allocations: 0 / 337.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01335, allocations: 0 / 337.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.01353, allocations: 260.5 kB / 337.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01353, allocations: 0 / 337.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-05/0.01362, allocations: 35.91 kB / 337.5 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001276/0.01375, allocations: 60.8 kB / 337.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01376, allocations: 4 kB / 337.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008729/0.01464, allocations: 1.492 MB / 339 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01464, allocations: 0 / 339 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.01518, allocations: 385.5 kB / 339.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.01521, allocations: 28.02 kB / 339.4 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.01523, allocations: 3.938 kB / 339.4 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.01533, allocations: 31.95 kB / 339.5 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.01538, allocations: 19.97 kB / 339.5 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.01539, allocations: 8 kB / 339.5 MB, free: 136 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.01552, allocations: 189.2 kB / 339.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01552, allocations: 0 / 339.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.01573, allocations: 75.83 kB / 339.8 MB, free: 15.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007298/0.01646, allocations: 0.9201 MB / 340.7 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000487/0.01695, allocations: 426.9 kB / 341.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01695, allocations: 3.938 kB / 341.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.01716, allocations: 215.2 kB / 341.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.01736, allocations: 44.42 kB / 341.4 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.02078, allocations: 3.182 MB / 344.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.597e-05/0.02088, allocations: 146.9 kB / 344.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.132e-05/0.02095, allocations: 22.3 kB / 344.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.02105, allocations: 88.47 kB / 344.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02106, allocations: 0 / 344.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02254/0.0436, allocations: 7.513 MB / 352.3 MB, free: 3.211 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.578/7.622, allocations: 0 / 352.3 MB, free: 3.211 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.273159456439316]