Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 107.4 kB / 17.68 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 192 kB / 18.62 MB, free: 4.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 55.19 kB / 302.1 MB, free: 5.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1366, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004918/0.1416, allocations: 3.17 MB / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1433, allocations: 0.7673 MB / 355.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.1435, allocations: 11.94 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1437, allocations: 55.44 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.144, allocations: 107.1 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000357/0.1444, allocations: 127.8 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.1449, allocations: 446.2 kB / 356.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.1452, allocations: 159.8 kB / 356.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.1455, allocations: 167.3 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.1457, allocations: 179.2 kB / 356.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.1458, allocations: 44 kB / 356.7 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.215e-05/0.1459, allocations: 44 kB / 356.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.618e-05/0.146, allocations: 91.69 kB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.1462, allocations: 195.1 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005193/0.1467, allocations: 0.4983 MB / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.1467, allocations: 0 / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1467, allocations: 0 / 357.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.1467, allocations: 0 / 357.5 MB, free: 13.62 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.001262/0.148, allocations: 0.6627 MB / 358.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.148, allocations: 8.031 kB / 358.2 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.1481, allocations: 40.47 kB / 358.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.1486, allocations: 303.5 kB / 358.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.1487, allocations: 33.03 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.1487, allocations: 28.38 kB / 358.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.1494, allocations: 349.4 kB / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1494, allocations: 0 / 358.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1494, allocations: 16 kB / 359 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1494, allocations: 8 kB / 359 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005709/0.15, allocations: 274.4 kB / 359.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1521, allocations: 1.249 MB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.1527, allocations: 295.8 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.1529, allocations: 96.81 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.153, allocations: 3.938 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.153, allocations: 34.56 kB / 360.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.153, allocations: 4 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.002039/0.1551, allocations: 0.6504 MB / 361.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.1551, allocations: 51.41 kB / 361.6 MB, free: 9.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1555, allocations: 295 kB / 361.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1555, allocations: 29.7 kB / 361.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.1557, allocations: 215.7 kB / 362.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.1557, allocations: 51.27 kB / 362.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.1558, allocations: 45.7 kB / 362.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.156, allocations: 334.8 kB / 362.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.1562, allocations: 87.89 kB / 362.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1565, allocations: 166.2 kB / 362.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.1569, allocations: 244.8 kB / 363 MB, free: 7.754 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.1569, allocations: 4 kB / 363 MB, free: 7.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009429/0.1579, allocations: 402 kB / 363.4 MB, free: 7.348 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1579, allocations: 7.938 kB / 363.4 MB, free: 7.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1579, allocations: 8.062 kB / 363.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/0.1584, allocations: 104.8 kB / 363.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1585, allocations: 43.92 kB / 363.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.1614, allocations: 2.176 MB / 365.8 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.1617, allocations: 43.58 kB / 365.8 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1617, allocations: 12.06 kB / 365.8 MB, free: 4.816 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.0001827/0.1619, allocations: 153.8 kB / 366 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.996e-05/0.1619, allocations: 23.72 kB / 366 MB, free: 4.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.162, allocations: 25.92 kB / 366 MB, free: 4.602 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.162, allocations: 7.922 kB / 366 MB, free: 4.594 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.162, allocations: 4 kB / 366 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.162, allocations: 0 / 366 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.1632, allocations: 0.7218 MB / 366.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1632, allocations: 0 / 366.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.1633, allocations: 15.98 kB / 366.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.1636, allocations: 100.7 kB / 366.9 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.1637, allocations: 7.922 kB / 366.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002541/0.1662, allocations: 2.155 MB / 369 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1662, allocations: 3.938 kB / 369 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007838/0.167, allocations: 411 kB / 369.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.1671, allocations: 104.8 kB / 369.5 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1671, allocations: 4 kB / 369.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1674, allocations: 23.98 kB / 369.6 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.1674, allocations: 19.92 kB / 369.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.1675, allocations: 7.938 kB / 369.6 MB, free: 0.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002206/0.1677, allocations: 213.9 kB / 369.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1677, allocations: 0 / 369.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005137/0.1682, allocations: 91.78 kB / 369.9 MB, free: 0.4961 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.1684, allocations: 107.1 kB / 370 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007691/0.1691, allocations: 342.4 kB / 370.3 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1692, allocations: 0 / 370.3 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2112/0.3803, allocations: 222.4 kB / 370.6 MB, free: 25.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.381, allocations: 41.06 kB / 370.6 MB, free: 25.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.3825, allocations: 0.5508 MB / 371.1 MB, free: 25.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3828, allocations: 0.7673 MB / 371.9 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3829, allocations: 25 kB / 371.9 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.3829, allocations: 18.62 kB / 372 MB, free: 24.53 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3829, allocations: 1.219 kB / 372 MB, free: 24.53 MB / 302.1 MB Notification: Performance of Templates: time 0.009865/0.3928, allocations: 3.624 MB / 375.6 MB, free: 24.45 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches