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.0008803/0.0008803, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004022/0.004022, allocations: 165.3 kB / 24.7 MB, free: 9.426 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.8749/0.8749, allocations: 177.2 MB / 205 MB, free: 5.715 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.41e-05, allocations: 6.281 kB / 325.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002612/0.002626, allocations: 2.98 MB / 328.9 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000855/0.003481, allocations: 0.7829 MB / 329.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.003605, allocations: 11.94 kB / 329.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.003735, allocations: 63.36 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.003868, allocations: 111 kB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.004125, allocations: 143.7 kB / 330 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.004417, allocations: 465.8 kB / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.004597, allocations: 104.5 kB / 330.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.004851, allocations: 259.4 kB / 330.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.004977, allocations: 135.5 kB / 330.9 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.005014, allocations: 44 kB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.183e-05/0.005076, allocations: 48 kB / 331 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.00512, allocations: 91.66 kB / 331.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.719e-05/0.005197, allocations: 131.7 kB / 331.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.005535, allocations: 0.5101 MB / 331.7 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.005537, allocations: 4 kB / 331.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005538, allocations: 0 / 331.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005543, allocations: 0 / 331.7 MB, free: 9.504 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.0006374/0.00618, allocations: 0.6018 MB / 332.3 MB, free: 8.871 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.006211, allocations: 8.031 kB / 332.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.006326, allocations: 48.7 kB / 332.4 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.006597, allocations: 261 kB / 332.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.006616, allocations: 25.03 kB / 332.7 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.006642, allocations: 32.31 kB / 332.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.007048, allocations: 430.7 kB / 333.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007059, allocations: 4.172 kB / 333.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.007083, allocations: 12.36 kB / 333.1 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007091, allocations: 15.88 kB / 333.1 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003231/0.007414, allocations: 266.5 kB / 333.4 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.008696, allocations: 1.067 MB / 334.5 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.00901, allocations: 210.7 kB / 334.7 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.009119, allocations: 84.81 kB / 334.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.009135, allocations: 0 / 334.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.009153, allocations: 34.56 kB / 334.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 8.12e-07/0.009153, allocations: 0 / 334.8 MB, free: 6.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001045/0.0102, allocations: 0.568 MB / 335.4 MB, free: 5.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.01022, allocations: 55.41 kB / 335.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.0104, allocations: 269.8 kB / 335.7 MB, free: 5.352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.01041, allocations: 33.7 kB / 335.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.01051, allocations: 220.2 kB / 335.9 MB, free: 5.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.01054, allocations: 59.48 kB / 336 MB, free: 5.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.01059, allocations: 45.7 kB / 336 MB, free: 4.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.01067, allocations: 334.8 kB / 336.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.01078, allocations: 75.95 kB / 336.4 MB, free: 4.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.01091, allocations: 166.2 kB / 336.6 MB, free: 4.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.01115, allocations: 246 kB / 336.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.01115, allocations: 4 kB / 336.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004786/0.01163, allocations: 405.1 kB / 337.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.01164, allocations: 4 kB / 337.2 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.01164, allocations: 4 kB / 337.2 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002456/0.01189, allocations: 108.8 kB / 337.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.01197, allocations: 39.92 kB / 337.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.01351, allocations: 2.033 MB / 339.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.0136, allocations: 35.81 kB / 339.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.01361, allocations: 8 kB / 339.5 MB, free: 1.355 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 9.194e-05/0.0137, allocations: 153.7 kB / 339.6 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.01373, allocations: 31.8 kB / 339.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.01376, allocations: 25.77 kB / 339.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.01376, allocations: 8 kB / 339.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-07/0.01376, allocations: 0 / 339.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.01376, allocations: 0 / 339.7 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.01438, allocations: 0.6109 MB / 340.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01438, allocations: 0 / 340.3 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.515e-05/0.01441, allocations: 15.98 kB / 340.3 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001613/0.01457, allocations: 100.8 kB / 340.4 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.01458, allocations: 0 / 340.4 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.01616, allocations: 2.012 MB / 342.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01616, allocations: 0 / 342.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.01657, allocations: 404.4 kB / 342.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.01659, allocations: 31.78 kB / 342.8 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.01661, allocations: 7.938 kB / 342.8 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.215e-05/0.0167, allocations: 27.98 kB / 342.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.01673, allocations: 15.97 kB / 342.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01674, allocations: 4 kB / 342.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.01685, allocations: 193.2 kB / 343.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01685, allocations: 0 / 343.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002606/0.01711, allocations: 87.84 kB / 343.2 MB, free: 13.48 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 7.035e-05/0.01718, allocations: 95.25 kB / 343.3 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.01758, allocations: 342.2 kB / 343.6 MB, free: 13.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01758, allocations: 3.938 kB / 343.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.01775, allocations: 227.2 kB / 343.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01797, allocations: 32.48 kB / 343.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.01858, allocations: 0.5812 MB / 344.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.865e-05/0.01867, allocations: 160.8 kB / 344.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.0187, allocations: 28.42 kB / 344.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.0187, allocations: 0 / 344.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of Templates: time 0.004014/0.02272, allocations: 4.712 MB / 349.3 MB, free: 7.234 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] 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: 4.244184895418584]