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.0009241/0.0009241, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0008812/0.0008812, allocations: 174.5 kB / 24.92 MB, free: 8.77 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.9568/0.9568, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.232e-06/1.232e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.311e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002749/0.002762, allocations: 3.172 MB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009206/0.003682, allocations: 0.8137 MB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.003794, allocations: 4 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.003929, allocations: 63.42 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001445/0.004074, allocations: 123 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.004315, allocations: 139.7 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.004601, allocations: 458 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004756, allocations: 115.1 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.004995, allocations: 263.4 kB / 278.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.005136, allocations: 151.6 kB / 278.8 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.005175, allocations: 44 kB / 278.8 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.998e-05/0.005235, allocations: 44 kB / 278.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.005281, allocations: 87.67 kB / 278.9 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.005366, allocations: 139.7 kB / 279.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.005617, allocations: 286.9 kB / 279.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.005619, allocations: 4 kB / 279.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.9e-07/0.005619, allocations: 0 / 279.4 MB, free: 11.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.005623, allocations: 0 / 279.4 MB, free: 11.35 MB / 266.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.0007866/0.006409, allocations: 0.566 MB / 279.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.62e-05/0.006436, allocations: 8.031 kB / 279.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.006547, allocations: 60.89 kB / 280 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.006739, allocations: 209.1 kB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.006756, allocations: 25.03 kB / 280.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.006782, allocations: 28.38 kB / 280.2 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.007048, allocations: 339.3 kB / 280.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.007056, allocations: 192 / 280.6 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.007074, allocations: 20.36 kB / 280.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007082, allocations: 11.94 kB / 280.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.007183, allocations: 80.55 kB / 280.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.008059, allocations: 0.8937 MB / 281.6 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.008225, allocations: 114.5 kB / 281.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.008266, allocations: 36.78 kB / 281.7 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.008279, allocations: 4 kB / 281.7 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.008298, allocations: 38.5 kB / 281.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.0083, allocations: 0 / 281.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005842/0.008884, allocations: 314.1 kB / 282.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.008905, allocations: 55.34 kB / 282.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.009034, allocations: 244.9 kB / 282.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.009046, allocations: 25.7 kB / 282.4 MB, free: 8.109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.403e-05/0.00912, allocations: 212.1 kB / 282.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.009145, allocations: 55.52 kB / 282.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.009193, allocations: 49.64 kB / 282.7 MB, free: 7.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.009265, allocations: 334.8 kB / 283 MB, free: 7.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.219e-05/0.009297, allocations: 27.98 kB / 283.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-05/0.009366, allocations: 110.2 kB / 283.2 MB, free: 7.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.009472, allocations: 142.1 kB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009475, allocations: 0 / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002412/0.009716, allocations: 233.1 kB / 283.5 MB, free: 6.871 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.009728, allocations: 4 kB / 283.5 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.009733, allocations: 4 kB / 283.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002314/0.009965, allocations: 96.83 kB / 283.6 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.01004, allocations: 35.92 kB / 283.7 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009381/0.01098, allocations: 1.548 MB / 285.2 MB, free: 5.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.01106, allocations: 35.77 kB / 285.3 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.01107, allocations: 8 kB / 285.3 MB, free: 5.051 MB / 266.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 7.022e-05/0.01114, allocations: 125.8 kB / 285.4 MB, free: 4.918 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.01117, allocations: 23.91 kB / 285.4 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.01119, allocations: 29.77 kB / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.01119, allocations: 0 / 285.4 MB, free: 4.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.01119, allocations: 4 kB / 285.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.0112, allocations: 0 / 285.4 MB, free: 4.863 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.01156, allocations: 386.9 kB / 285.8 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.01156, allocations: 7.875 kB / 285.8 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.01159, allocations: 19.98 kB / 285.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001734/0.01177, allocations: 84.78 kB / 285.9 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.01178, allocations: 7.984 kB / 285.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.01283, allocations: 1.524 MB / 287.5 MB, free: 2.727 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.01283, allocations: 7.922 kB / 287.5 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.01303, allocations: 260.5 kB / 287.7 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.01305, allocations: 23.89 kB / 287.7 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.01306, allocations: 4 kB / 287.7 MB, free: 2.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.76e-05/0.01314, allocations: 15.98 kB / 287.8 MB, free: 2.402 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.01317, allocations: 15.97 kB / 287.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.01318, allocations: 4 kB / 287.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.179e-05/0.01324, allocations: 82.72 kB / 287.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01324, allocations: 0 / 287.9 MB, free: 2.301 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002487/0.01349, allocations: 95.78 kB / 288 MB, free: 2.207 MB / 266.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 6.716e-05/0.01355, allocations: 80.42 kB / 288 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.01379, allocations: 246.7 kB / 288.3 MB, free: 1.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.0138, allocations: 4 kB / 288.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.01391, allocations: 188 kB / 288.5 MB, free: 1.664 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.01409, allocations: 40.7 kB / 288.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006953/0.01479, allocations: 0.5229 MB / 289 MB, free: 1.082 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.603e-05/0.01483, allocations: 88.31 kB / 289.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.309e-05/0.01489, allocations: 26.27 kB / 289.1 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.352e-05/0.01497, allocations: 83.36 kB / 289.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01497, allocations: 0 / 289.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of Templates: time 0.08757/0.1025, allocations: 3.429 MB / 292.6 MB, free: 25.57 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.549031091388315]