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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001218, allocations: 96.91 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001728, allocations: 203.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.683/1.683, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 8 kB / 307.8 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1454, allocations: 51.53 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003848/0.1493, allocations: 2.862 MB / 362.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1513, allocations: 0.7986 MB / 362.9 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003646/0.1517, allocations: 11.94 kB / 363 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.152, allocations: 43.67 kB / 363 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.1524, allocations: 99.3 kB / 363.1 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000381/0.1528, allocations: 111.8 kB / 363.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005722/0.1534, allocations: 418.2 kB / 363.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.1537, allocations: 140.4 kB / 363.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.1541, allocations: 139.4 kB / 363.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.1544, allocations: 155.2 kB / 364 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.1544, allocations: 16 kB / 364.1 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1545, allocations: 24 kB / 364.1 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.259e-05/0.1546, allocations: 71.62 kB / 364.1 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.1548, allocations: 184.8 kB / 364.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005103/0.1554, allocations: 486.4 kB / 364.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1554, allocations: 0 / 364.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.1554, allocations: 0 / 364.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.1554, allocations: 0 / 364.8 MB, free: 7.742 MB / 302.1 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.001309/0.1567, allocations: 0.6119 MB / 365.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1568, allocations: 15.97 kB / 365.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/0.157, allocations: 56.45 kB / 365.5 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.1575, allocations: 303.6 kB / 365.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1575, allocations: 21.03 kB / 365.8 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.1576, allocations: 32.38 kB / 365.8 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.1584, allocations: 357.4 kB / 366.2 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1584, allocations: 7.938 kB / 366.2 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.1585, allocations: 12 kB / 366.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.1585, allocations: 8 kB / 366.2 MB, free: 6.242 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/0.1592, allocations: 282.4 kB / 366.5 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.1615, allocations: 1.276 MB / 367.8 MB, free: 4.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.1622, allocations: 311.7 kB / 368.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.1625, allocations: 100.8 kB / 368.2 MB, free: 4.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/0.1625, allocations: 4 kB / 368.2 MB, free: 4.168 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1626, allocations: 30.56 kB / 368.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.165e-06/0.1626, allocations: 0 / 368.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002327/0.1649, allocations: 0.6901 MB / 368.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.165, allocations: 59.39 kB / 368.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.1654, allocations: 302.9 kB / 369.2 MB, free: 3.031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.1654, allocations: 25.7 kB / 369.3 MB, free: 3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.1656, allocations: 219.7 kB / 369.5 MB, free: 2.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.1656, allocations: 47.36 kB / 369.5 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/0.1657, allocations: 25.7 kB / 369.6 MB, free: 2.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1658, allocations: 338.8 kB / 369.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1661, allocations: 79.97 kB / 370 MB, free: 2.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.1664, allocations: 174.2 kB / 370.1 MB, free: 2.078 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.1669, allocations: 257.9 kB / 370.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1669, allocations: 0 / 370.4 MB, free: 1.789 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00103/0.1679, allocations: 432.2 kB / 370.8 MB, free: 1.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1679, allocations: 7.938 kB / 370.8 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.168, allocations: 4 kB / 370.8 MB, free: 1.348 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004801/0.1684, allocations: 112.8 kB / 370.9 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.1686, allocations: 43.91 kB / 371 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2542/0.4228, allocations: 1.981 MB / 373 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.4232, allocations: 37.77 kB / 373 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.4233, allocations: 12.05 kB / 373 MB, free: 17.96 MB / 302.1 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.0002169/0.4235, allocations: 154 kB / 373.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.4236, allocations: 32.56 kB / 373.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.449e-05/0.4237, allocations: 29.83 kB / 373.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4237, allocations: 1.969 kB / 373.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4237, allocations: 4.453 kB / 373.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.4237, allocations: 3.891 kB / 373.2 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.4252, allocations: 0.7472 MB / 374 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.4252, allocations: 1.781 kB / 374 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.939e-05/0.4253, allocations: 14.2 kB / 374 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003907/0.4257, allocations: 106.6 kB / 374.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.4257, allocations: 2.172 kB / 374.1 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.4285, allocations: 1.986 MB / 376.1 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4285, allocations: 5 kB / 376.1 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000994/0.4295, allocations: 431.8 kB / 376.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.4296, allocations: 105.8 kB / 376.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.4296, allocations: 3.062 kB / 376.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.4299, allocations: 24.41 kB / 376.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/0.4299, allocations: 21.91 kB / 376.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.43, allocations: 3.156 kB / 376.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003441/0.4303, allocations: 212.5 kB / 376.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4303, allocations: 0 / 376.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005678/0.4309, allocations: 90.25 kB / 377 MB, free: 15.84 MB / 302.1 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.0001493/0.4311, allocations: 104 kB / 377.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.4319, allocations: 355.4 kB / 377.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4319, allocations: 0 / 377.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.4323, allocations: 231.4 kB / 377.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.4327, allocations: 43.81 kB / 377.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.4339, allocations: 0.7009 MB / 378.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.4342, allocations: 0.7709 MB / 379.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.4343, allocations: 25.48 kB / 379.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.4344, allocations: 18.95 kB / 379.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4344, allocations: 1.375 kB / 379.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of Templates: time 0.01244/0.4468, allocations: 3.354 MB / 382.5 MB, free: 14.2 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches