Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.0008524/0.0008524, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008936/0.0008936, 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.9132/0.9132, allocations: 177 MB / 204.1 MB, free: 5.738 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.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.287e-05, allocations: 3.125 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00283/0.002853, allocations: 2.896 MB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.004344, allocations: 0.7441 MB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.00451, allocations: 4 kB / 328.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.00466, allocations: 59.42 kB / 328.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.004876, allocations: 126.9 kB / 328.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.005145, allocations: 107.9 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.005539, allocations: 481.8 kB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.005722, allocations: 91.45 kB / 329.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.006188, allocations: 275.3 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.006339, allocations: 139.6 kB / 329.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.225e-05/0.006381, allocations: 44 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.006417, allocations: 48 kB / 329.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.00647, allocations: 95.59 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.006574, allocations: 135.7 kB / 329.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.006951, allocations: 0.5101 MB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006954, allocations: 4 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006955, allocations: 0 / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.006963, allocations: 4 kB / 330.3 MB, free: 10.08 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008931/0.007856, allocations: 0.6315 MB / 330.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.007897, allocations: 15.98 kB / 330.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.008081, allocations: 62.72 kB / 331 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.008143, allocations: 44.64 kB / 331 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.008487, allocations: 256.7 kB / 331.3 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.008508, allocations: 21.03 kB / 331.3 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.008546, allocations: 36.31 kB / 331.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.008989, allocations: 387.7 kB / 331.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.009001, allocations: 3.938 kB / 331.7 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/0.009026, allocations: 12 kB / 331.7 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.009033, allocations: 8 kB / 331.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.009422, allocations: 278.5 kB / 332 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.01073, allocations: 1.054 MB / 333.1 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.01115, allocations: 226.4 kB / 333.3 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.01135, allocations: 120.8 kB / 333.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.01137, allocations: 0 / 333.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003251/0.0117, allocations: 276.1 kB / 333.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 1.142e-06/0.0117, allocations: 0 / 333.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0008814/0.01258, allocations: 440.8 kB / 334.1 MB, free: 6.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.01264, allocations: 136.5 kB / 334.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.01292, allocations: 296.1 kB / 334.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.01294, allocations: 33.7 kB / 334.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01305, allocations: 220.3 kB / 334.8 MB, free: 5.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.01309, allocations: 63.44 kB / 334.9 MB, free: 5.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.01316, allocations: 53.98 kB / 334.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.01326, allocations: 342.8 kB / 335.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.01351, allocations: 129.9 kB / 335.4 MB, free: 4.711 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.01375, allocations: 312.4 kB / 335.7 MB, free: 4.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.01412, allocations: 310.9 kB / 336 MB, free: 3.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01412, allocations: 0 / 336 MB, free: 3.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005877/0.01471, allocations: 461.5 kB / 336.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.01475, allocations: 37.69 kB / 336.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.01476, allocations: 0 / 336.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.01501, allocations: 56.81 kB / 336.5 MB, free: 3.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.01517, allocations: 67.89 kB / 336.6 MB, free: 3.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.01644, allocations: 1.5 MB / 338.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.01661, allocations: 55.81 kB / 338.1 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.01663, allocations: 11.98 kB / 338.2 MB, free: 1.656 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,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * 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.0001209/0.01675, allocations: 153.9 kB / 338.3 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.01678, allocations: 35.75 kB / 338.3 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.01682, allocations: 30.14 kB / 338.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01682, allocations: 7.938 kB / 338.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01682, allocations: 0 / 338.4 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01683, allocations: 4 kB / 338.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.01759, allocations: 0.6785 MB / 339.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01759, allocations: 0 / 339.1 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.01771, allocations: 47.94 kB / 339.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.01784, allocations: 52.8 kB / 339.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.01785, allocations: 8 kB / 339.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/0.0191, allocations: 1.493 MB / 340.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.0191, allocations: 0 / 340.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.0197, allocations: 0.5039 MB / 341.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.01974, allocations: 27.83 kB / 341.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.01976, allocations: 11.98 kB / 341.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01989, allocations: 27.97 kB / 341.2 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.01996, allocations: 27.91 kB / 341.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.01997, allocations: 16.06 kB / 341.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.02011, allocations: 211 kB / 341.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02011, allocations: 3.938 kB / 341.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.0204, allocations: 83.89 kB / 341.6 MB, free: 14.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.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 (18): * Single equations (assignments): 15 * 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.0008364/0.02124, allocations: 1.045 MB / 342.6 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000576/0.02182, allocations: 456.6 kB / 343.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.02182, allocations: 0 / 343.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.02205, allocations: 230.5 kB / 343.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.02234, allocations: 61.2 kB / 343.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.02574, allocations: 3.456 MB / 346.8 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.02585, allocations: 161.2 kB / 347 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.02595, allocations: 34.95 kB / 347 MB, free: 8.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.02606, allocations: 100.5 kB / 347.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02606, allocations: 0 / 347.1 MB, free: 8.238 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.0509, allocations: 8.524 MB / 355.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.727, allocations: 10.5 kB / 355.6 MB, free: 15.86 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! Error: Could not read variable firstOrder.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,firstOrder.c.v,firstOrder.opAmp.out.v,firstOrder.opAmp.out.i Variables in the result:time,firstOrder.c.v [Calling sys.exit(0), Time elapsed: 9.538249962963164]