Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008189/0.0008189, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8965/0.8965, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.878e-05, allocations: 4.812 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002957/0.002976, allocations: 2.996 MB / 327.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.004146, allocations: 0.7752 MB / 328.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.004285, allocations: 11.94 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004435, allocations: 55.38 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.004604, allocations: 123 kB / 328.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.00493, allocations: 131.7 kB / 328.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.005296, allocations: 465.8 kB / 329.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.005492, allocations: 112.4 kB / 329.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.005814, allocations: 263.3 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.005954, allocations: 127.6 kB / 329.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.005995, allocations: 44 kB / 329.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.00606, allocations: 48 kB / 329.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.006104, allocations: 95.66 kB / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.00619, allocations: 131.7 kB / 330 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003761/0.006566, allocations: 0.514 MB / 330.5 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00657, allocations: 4 kB / 330.5 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.006571, allocations: 0 / 330.5 MB, free: 10 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.006578, allocations: 0 / 330.5 MB, free: 10 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0007724/0.00735, allocations: 0.6057 MB / 331.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.007388, allocations: 8.031 kB / 331.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.911e-05/0.007447, allocations: 70.72 kB / 331.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.00758, allocations: 48.69 kB / 331.2 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.007929, allocations: 253 kB / 331.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.007948, allocations: 25.03 kB / 331.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.007977, allocations: 32.38 kB / 331.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.008421, allocations: 426.7 kB / 331.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.008431, allocations: 192 / 331.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.008456, allocations: 20.12 kB / 331.9 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.008465, allocations: 8 kB / 331.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004858/0.00895, allocations: 270.4 kB / 332.2 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.01026, allocations: 1.125 MB / 333.3 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.01061, allocations: 202.6 kB / 333.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.01073, allocations: 84.81 kB / 333.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.01075, allocations: 7.938 kB / 333.6 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.01077, allocations: 38.56 kB / 333.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.01077, allocations: 4 kB / 333.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001103/0.01187, allocations: 0.5629 MB / 334.2 MB, free: 6.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.0119, allocations: 55.41 kB / 334.3 MB, free: 5.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.01212, allocations: 308.1 kB / 334.6 MB, free: 5.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.01213, allocations: 29.7 kB / 334.6 MB, free: 5.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.01223, allocations: 216.3 kB / 334.8 MB, free: 5.418 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.01226, allocations: 59.47 kB / 334.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.852e-05/0.01232, allocations: 53.64 kB / 334.9 MB, free: 5.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.763e-05/0.01241, allocations: 330.8 kB / 335.3 MB, free: 4.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.01252, allocations: 83.95 kB / 335.3 MB, free: 4.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.01267, allocations: 162.2 kB / 335.5 MB, free: 4.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.01292, allocations: 246 kB / 335.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01292, allocations: 0 / 335.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005074/0.01343, allocations: 404.6 kB / 336.1 MB, free: 4.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01344, allocations: 8 kB / 336.1 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01345, allocations: 4 kB / 336.1 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002724/0.01372, allocations: 104.8 kB / 336.3 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.351e-05/0.01381, allocations: 43.92 kB / 336.3 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.0156, allocations: 2.039 MB / 338.3 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01572, allocations: 43.7 kB / 338.4 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01573, allocations: 8 kB / 338.4 MB, free: 1.641 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.01585, allocations: 161.8 kB / 338.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.01588, allocations: 27.81 kB / 338.6 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.01592, allocations: 33.78 kB / 338.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01593, allocations: 0 / 338.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01593, allocations: 0 / 338.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01593, allocations: 3.938 kB / 338.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000825/0.01676, allocations: 0.6584 MB / 339.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01676, allocations: 0 / 339.3 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.734e-05/0.01681, allocations: 11.98 kB / 339.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.017, allocations: 101.1 kB / 339.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.017, allocations: 3.984 kB / 339.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.01856, allocations: 2.035 MB / 341.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.01857, allocations: 3.984 kB / 341.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.01903, allocations: 415.1 kB / 341.8 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.01907, allocations: 31.84 kB / 341.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.01908, allocations: 0 / 341.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.01918, allocations: 27.98 kB / 341.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.01923, allocations: 15.95 kB / 341.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.01924, allocations: 8 kB / 341.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.0194, allocations: 215 kB / 342.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0194, allocations: 0 / 342.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.01976, allocations: 95.78 kB / 342.2 MB, free: 13.61 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006763/0.02043, allocations: 0.9394 MB / 343.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004725/0.02091, allocations: 338.4 kB / 343.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02091, allocations: 0 / 343.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.0211, allocations: 226.5 kB / 343.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.02139, allocations: 41.22 kB / 343.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.02439, allocations: 3.147 MB / 346.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.02451, allocations: 164.8 kB / 347 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.811e-05/0.02459, allocations: 26.28 kB / 347.1 MB, free: 8.523 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.295e-05/0.02468, allocations: 92.47 kB / 347.2 MB, free: 8.43 MB / 314.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02468, allocations: 7.938 kB / 347.2 MB, free: 8.422 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/0.04966, allocations: 7.234 MB / 354.4 MB, free: 1.352 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.536/7.585, allocations: 6.094 kB / 354.4 MB, free: 1.352 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.231874043121934]