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.001692/0.001692, allocations: 107.4 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 247.1 MB, free: 10.71 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 60.52 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1478, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.007443/0.1553, allocations: 3.248 MB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1575, allocations: 0.8064 MB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003513/0.158, allocations: 7.938 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.1583, allocations: 47.67 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004714/0.1588, allocations: 91.3 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.1594, allocations: 115.8 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008348/0.1602, allocations: 446.2 kB / 362.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.1607, allocations: 155.9 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000462/0.1612, allocations: 167.4 kB / 362.7 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.1616, allocations: 183.2 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.1618, allocations: 44 kB / 362.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.162, allocations: 52 kB / 363 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1621, allocations: 87.64 kB / 363.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.1625, allocations: 203.1 kB / 363.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006477/0.1631, allocations: 407.2 kB / 363.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1632, allocations: 3.984 kB / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1632, allocations: 0 / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.1632, allocations: 0 / 363.7 MB, free: 8.324 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.001864/0.1651, allocations: 0.6664 MB / 364.3 MB, free: 7.609 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1652, allocations: 12.03 kB / 364.3 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00032/0.1655, allocations: 48.45 kB / 364.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.1661, allocations: 307.5 kB / 364.7 MB, free: 7.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.1661, allocations: 36.97 kB / 364.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.1662, allocations: 28.38 kB / 364.8 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.1673, allocations: 345.4 kB / 365.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1674, allocations: 0 / 365.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.584e-05/0.1675, allocations: 16 kB / 365.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.1675, allocations: 8 kB / 365.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009508/0.1684, allocations: 278.4 kB / 365.4 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.1716, allocations: 1.26 MB / 366.7 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.1726, allocations: 299.7 kB / 366.9 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.173, allocations: 96.81 kB / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.1731, allocations: 0 / 367 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.1731, allocations: 38.56 kB / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.974e-06/0.1731, allocations: 4 kB / 367.1 MB, free: 4.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003582/0.1767, allocations: 0.6375 MB / 367.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.1768, allocations: 55.41 kB / 367.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.1774, allocations: 294.9 kB / 368.1 MB, free: 3.664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.1774, allocations: 33.7 kB / 368.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.1777, allocations: 223.7 kB / 368.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.1778, allocations: 43.34 kB / 368.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1779, allocations: 57.61 kB / 368.4 MB, free: 3.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1781, allocations: 334.8 kB / 368.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.1785, allocations: 79.95 kB / 368.8 MB, free: 2.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1789, allocations: 162.3 kB / 369 MB, free: 2.684 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007623/0.1797, allocations: 257.1 kB / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1797, allocations: 0 / 369.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001652/0.1814, allocations: 405.9 kB / 369.6 MB, free: 1.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.1814, allocations: 16 kB / 369.6 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.1814, allocations: 7.938 kB / 369.6 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007222/0.1822, allocations: 100.8 kB / 369.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.1825, allocations: 39.92 kB / 369.8 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2609/0.4434, allocations: 2.158 MB / 371.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.4439, allocations: 38.06 kB / 372 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.444, allocations: 9.422 kB / 372 MB, free: 19.01 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.0002787/0.4443, allocations: 155.8 kB / 372.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.4444, allocations: 30.5 kB / 372.2 MB, free: 18.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.4446, allocations: 27.47 kB / 372.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4446, allocations: 1 kB / 372.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4446, allocations: 1.188 kB / 372.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4446, allocations: 2 kB / 372.2 MB, free: 18.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.4466, allocations: 0.7301 MB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.4466, allocations: 0 / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.4467, allocations: 17.44 kB / 372.9 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.4472, allocations: 105.1 kB / 373.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.4473, allocations: 4.547 kB / 373.1 MB, free: 18.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003992/0.4513, allocations: 2.156 MB / 375.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4513, allocations: 1.031 kB / 375.2 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4529, allocations: 416.5 kB / 375.6 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.4531, allocations: 105.2 kB / 375.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.4532, allocations: 5.016 kB / 375.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.4536, allocations: 21.97 kB / 375.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.4537, allocations: 14.75 kB / 375.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.4537, allocations: 12.52 kB / 375.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004091/0.4542, allocations: 209.2 kB / 376 MB, free: 16.76 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4542, allocations: 0.7812 kB / 376 MB, free: 16.76 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009101/0.4551, allocations: 94.31 kB / 376.1 MB, free: 16.75 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.0001857/0.4553, allocations: 101.2 kB / 376.2 MB, free: 16.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.4567, allocations: 348.1 kB / 376.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4567, allocations: 1.375 kB / 376.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006037/0.4573, allocations: 226.7 kB / 376.7 MB, free: 16.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.4581, allocations: 47.84 kB / 376.8 MB, free: 16.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.4601, allocations: 0.7092 MB / 377.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.4604, allocations: 0.7679 MB / 378.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.4605, allocations: 25.36 kB / 378.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4606, allocations: 0 / 378.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of Templates: time 0.01521/0.4758, allocations: 4.727 MB / 383 MB, free: 14.77 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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches