Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001963, allocations: 197 kB / 17.43 MB, free: 4.246 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 229.5 MB / 247.7 MB, free: 6.293 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007807/0.0007807, allocations: 95.33 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 4 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2574, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.002585/0.26, allocations: 2.743 MB / 414.8 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.2613, allocations: 0.99 MB / 415.8 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.2615, allocations: 4.844 kB / 415.8 MB, free: 22.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.2617, allocations: 47.67 kB / 415.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.2619, allocations: 93.45 kB / 415.9 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.2621, allocations: 107.9 kB / 416 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.2624, allocations: 422 kB / 416.5 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.2627, allocations: 140.4 kB / 416.6 MB, free: 21.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.2629, allocations: 143.4 kB / 416.7 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2631, allocations: 155.2 kB / 416.9 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.2631, allocations: 16 kB / 416.9 MB, free: 21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.2632, allocations: 24 kB / 416.9 MB, free: 20.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.44e-05/0.2632, allocations: 67.62 kB / 417 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.2634, allocations: 188.8 kB / 417.2 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.2637, allocations: 475.7 kB / 417.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2637, allocations: 4 kB / 417.6 MB, free: 20.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2637, allocations: 4 kB / 417.6 MB, free: 20.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2638, allocations: 0 / 417.6 MB, free: 20.24 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.0008441/0.2646, allocations: 0.6081 MB / 418.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2647, allocations: 12.03 kB / 418.3 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.2648, allocations: 48.45 kB / 418.3 MB, free: 19.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.2651, allocations: 303.5 kB / 418.6 MB, free: 19.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.2652, allocations: 29.03 kB / 418.6 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.2652, allocations: 36.38 kB / 418.7 MB, free: 19.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.2658, allocations: 345.4 kB / 419 MB, free: 18.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2658, allocations: 4 kB / 419 MB, free: 18.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.2658, allocations: 12 kB / 419 MB, free: 18.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2658, allocations: 8 kB / 419 MB, free: 18.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.2664, allocations: 282.4 kB / 419.3 MB, free: 18.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.268, allocations: 1.276 MB / 420.6 MB, free: 17.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.2685, allocations: 311.7 kB / 420.9 MB, free: 16.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.2687, allocations: 100.8 kB / 421 MB, free: 16.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.2687, allocations: 3.984 kB / 421 MB, free: 16.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.2688, allocations: 34.56 kB / 421 MB, free: 16.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.2688, allocations: 4 kB / 421 MB, free: 16.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001863/0.2706, allocations: 0.6866 MB / 421.7 MB, free: 15.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.2707, allocations: 51.41 kB / 421.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.2709, allocations: 291 kB / 422 MB, free: 15.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.271, allocations: 37.64 kB / 422.1 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.271, allocations: 211.8 kB / 422.3 MB, free: 15.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.2711, allocations: 55.2 kB / 422.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.2711, allocations: 4 kB / 422.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.887e-05/0.2712, allocations: 342.8 kB / 422.7 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.2714, allocations: 71.97 kB / 422.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.2716, allocations: 166.2 kB / 422.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.272, allocations: 255.3 kB / 423.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.272, allocations: 4 kB / 423.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008168/0.2728, allocations: 425.8 kB / 423.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2728, allocations: 19.86 kB / 423.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2728, allocations: 4 kB / 423.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003891/0.2732, allocations: 108.8 kB / 423.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2734, allocations: 39.91 kB / 423.8 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.2757, allocations: 1.987 MB / 425.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.2759, allocations: 43.73 kB / 425.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.2759, allocations: 15.94 kB / 425.8 MB, free: 11.58 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 0.0001452/0.2761, allocations: 153.7 kB / 425.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.2761, allocations: 31.7 kB / 426 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.2762, allocations: 21.92 kB / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.2762, allocations: 4 kB / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2762, allocations: 3.984 kB / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2762, allocations: 0 / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.2773, allocations: 0.7408 MB / 426.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2773, allocations: 4 kB / 426.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.736e-05/0.2774, allocations: 23.98 kB / 426.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002945/0.2777, allocations: 100.8 kB / 426.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2777, allocations: 7.984 kB / 426.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.2797, allocations: 1.983 MB / 428.9 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2797, allocations: 0 / 428.9 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007247/0.2804, allocations: 435.8 kB / 429.3 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.2805, allocations: 104.8 kB / 429.4 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.2805, allocations: 4 kB / 429.4 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2807, allocations: 27.92 kB / 429.4 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/0.2808, allocations: 15.97 kB / 429.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2808, allocations: 4 kB / 429.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.281, allocations: 210 kB / 429.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.281, allocations: 4 kB / 429.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.2814, allocations: 87.69 kB / 429.7 MB, free: 7.395 MB / 298.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 0.0001275/0.2816, allocations: 111.2 kB / 429.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006285/0.2822, allocations: 346.9 kB / 430.2 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2822, allocations: 4.125 kB / 430.2 MB, free: 6.918 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002924/0.2825, allocations: 230.6 kB / 430.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.2829, allocations: 45.27 kB / 430.5 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009771/0.2839, allocations: 0.7069 MB / 431.2 MB, free: 5.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.2841, allocations: 0.7716 MB / 431.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.541e-05/0.2842, allocations: 22.3 kB / 432 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.2842, allocations: 19.44 kB / 432 MB, free: 5.062 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.2842, allocations: 4 kB / 432 MB, free: 5.059 MB / 298.7 MB Notification: Performance of Templates: time 0.006156/0.2904, allocations: 3.342 MB / 435.3 MB, free: 1.734 MB / 298.7 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches