Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.0009359/0.0009359, allocations: 88.33 kB / 20.67 MB, free: 3.875 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.0008438/0.0008438, allocations: 160.9 kB / 23.95 MB, free: 0.5977 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.89/0.89, allocations: 177 MB / 204.1 MB, free: 5.746 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.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.257e-05, allocations: 11.06 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003251/0.003274, allocations: 2.981 MB / 327.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.004928, allocations: 0.7749 MB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.005109, allocations: 7.938 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.005292, allocations: 59.44 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002275/0.00552, allocations: 122.9 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.005826, allocations: 119.8 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.006133, allocations: 457.9 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.00631, allocations: 104.5 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.00657, allocations: 267.3 kB / 329.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.006712, allocations: 135.5 kB / 329.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.00675, allocations: 40 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.366e-05/0.006814, allocations: 52 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.006861, allocations: 87.67 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.006946, allocations: 143.7 kB / 329.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.007355, allocations: 0.514 MB / 330.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.007359, allocations: 0 / 330.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.00736, allocations: 0 / 330.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.007365, allocations: 0 / 330.4 MB, free: 9.973 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.000694/0.008059, allocations: 0.5908 MB / 331 MB, free: 9.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.008101, allocations: 11.98 kB / 331 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.008159, allocations: 70.72 kB / 331.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.008295, allocations: 52.64 kB / 331.1 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003276/0.008622, allocations: 261.1 kB / 331.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.008639, allocations: 25.03 kB / 331.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.00867, allocations: 32.38 kB / 331.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.00906, allocations: 409.4 kB / 331.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.00907, allocations: 192 / 331.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.009094, allocations: 20.12 kB / 331.9 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.009102, allocations: 8 kB / 331.9 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.009384, allocations: 250.5 kB / 332.1 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.01059, allocations: 1.066 MB / 333.2 MB, free: 7.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.01089, allocations: 178.7 kB / 333.3 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.01098, allocations: 80.77 kB / 333.4 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.011, allocations: 11.88 kB / 333.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.01103, allocations: 30.56 kB / 333.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.01103, allocations: 4 kB / 333.5 MB, free: 6.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008449/0.01187, allocations: 421 kB / 333.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.0119, allocations: 51.41 kB / 333.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.01213, allocations: 304.1 kB / 334.2 MB, free: 5.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.01215, allocations: 33.7 kB / 334.3 MB, free: 5.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01227, allocations: 220.2 kB / 334.5 MB, free: 5.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.01231, allocations: 59.47 kB / 334.5 MB, free: 5.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.01236, allocations: 61.64 kB / 334.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003505/0.01271, allocations: 338.8 kB / 334.9 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.0128, allocations: 67.92 kB / 335 MB, free: 5.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.01291, allocations: 141.4 kB / 335.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002036/0.01312, allocations: 221.2 kB / 335.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01312, allocations: 0 / 335.3 MB, free: 4.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004006/0.01352, allocations: 349.1 kB / 335.7 MB, free: 4.359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01354, allocations: 4 kB / 335.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.01354, allocations: 4 kB / 335.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/0.0138, allocations: 92.78 kB / 335.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.207e-05/0.01389, allocations: 39.92 kB / 335.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.01558, allocations: 2.049 MB / 337.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.01568, allocations: 35.77 kB / 337.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.01569, allocations: 8 kB / 337.9 MB, free: 2.008 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: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.0158, allocations: 157.8 kB / 338.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.01583, allocations: 31.75 kB / 338.1 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.01587, allocations: 34.19 kB / 338.1 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01587, allocations: 4.062 kB / 338.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01587, allocations: 0 / 338.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.01588, allocations: 7.984 kB / 338.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006266/0.0165, allocations: 0.6115 MB / 338.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01651, allocations: 0 / 338.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.01655, allocations: 15.98 kB / 338.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.01673, allocations: 96.72 kB / 338.9 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01674, allocations: 7.984 kB / 338.9 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.01827, allocations: 2.033 MB / 340.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01827, allocations: 0 / 340.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.01865, allocations: 363.7 kB / 341.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.01869, allocations: 35.73 kB / 341.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.0187, allocations: 7.938 kB / 341.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.0188, allocations: 19.98 kB / 341.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.01885, allocations: 11.97 kB / 341.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.01886, allocations: 12 kB / 341.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.01901, allocations: 211.1 kB / 341.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01901, allocations: 3.938 kB / 341.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.01936, allocations: 91.89 kB / 341.7 MB, free: 14.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008574/0.02021, allocations: 0.8847 MB / 342.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.02063, allocations: 318.4 kB / 342.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02064, allocations: 0 / 342.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.02081, allocations: 229.7 kB / 343.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.02112, allocations: 45.58 kB / 343.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.02394, allocations: 2.996 MB / 346.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.02406, allocations: 173.3 kB / 346.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.92e-05/0.02414, allocations: 30.95 kB / 346.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.02424, allocations: 100.4 kB / 346.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02424, allocations: 0 / 346.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.04573, allocations: 7.53 MB / 353.9 MB, free: 1.699 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.592, allocations: 12 kB / 353.9 MB, free: 1.688 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_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_Adder.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable vOut.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv. Warning: Get data of variable vOut.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.323116273619235]