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.0008654/0.0008655, allocations: 91.3 kB / 16.65 MB, free: 6.555 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.0009634/0.0009634, allocations: 179.2 kB / 17.56 MB, free: 6.18 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.547/1.547, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004269/0.0004273, allocations: 8 kB / 301.4 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1763, allocations: 50.42 MB / 351.9 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004983/0.1813, allocations: 2.837 MB / 354.7 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1834, allocations: 0.7441 MB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1837, allocations: 11.94 kB / 355.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1839, allocations: 47.67 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.1843, allocations: 91.28 kB / 355.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.1847, allocations: 111.8 kB / 355.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.1853, allocations: 422.2 kB / 356.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.1857, allocations: 128.4 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.186, allocations: 139.4 kB / 356.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1863, allocations: 159.2 kB / 356.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.1863, allocations: 16 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.913e-05/0.1864, allocations: 20 kB / 356.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.452e-05/0.1865, allocations: 51.77 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.1867, allocations: 192.8 kB / 356.8 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006189/0.1874, allocations: 478.4 kB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1874, allocations: 4 kB / 357.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1874, allocations: 3.938 kB / 357.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.1874, allocations: 0 / 357.3 MB, free: 13.97 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.001384/0.1888, allocations: 0.6043 MB / 357.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.1889, allocations: 8.031 kB / 357.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.189, allocations: 40.47 kB / 357.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.1896, allocations: 303.5 kB / 358.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.1897, allocations: 25.03 kB / 358.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.1898, allocations: 28.38 kB / 358.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009256/0.1907, allocations: 365.3 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1907, allocations: 0 / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.1908, allocations: 12 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.1908, allocations: 8 kB / 358.6 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008608/0.1917, allocations: 282.5 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002731/0.1944, allocations: 1.276 MB / 360.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008664/0.1953, allocations: 307.7 kB / 360.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.1956, allocations: 100.8 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.1957, allocations: 4 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1957, allocations: 34.56 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.625e-06/0.1957, allocations: 0 / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.003209/0.199, allocations: 0.694 MB / 361.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.199, allocations: 51.41 kB / 361.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.1996, allocations: 298.9 kB / 361.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.1996, allocations: 29.7 kB / 361.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.1998, allocations: 211.8 kB / 361.9 MB, free: 9.062 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.1999, allocations: 55.25 kB / 362 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.523e-05/0.2, allocations: 25.66 kB / 362 MB, free: 8.977 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2001, allocations: 342.8 kB / 362.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.2005, allocations: 79.95 kB / 362.4 MB, free: 8.555 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.2008, allocations: 162.2 kB / 362.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.2016, allocations: 258.1 kB / 362.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.2016, allocations: 0 / 362.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001631/0.2033, allocations: 428.5 kB / 363.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/0.2033, allocations: 11.94 kB / 363.2 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.2033, allocations: 8.062 kB / 363.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000646/0.204, allocations: 108.8 kB / 363.3 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002559/0.2043, allocations: 39.92 kB / 363.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.2088, allocations: 1.995 MB / 365.4 MB, free: 5.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.2092, allocations: 39.67 kB / 365.4 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.2093, allocations: 11.94 kB / 365.4 MB, free: 5.297 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.0002885/0.2096, allocations: 153.8 kB / 365.6 MB, free: 5.137 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.2097, allocations: 23.72 kB / 365.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.573e-05/0.2098, allocations: 29.91 kB / 365.6 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2098, allocations: 7.984 kB / 365.6 MB, free: 5.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2098, allocations: 4 kB / 365.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.2098, allocations: 3.984 kB / 365.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.2118, allocations: 0.7478 MB / 366.4 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2118, allocations: 0 / 366.4 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.2119, allocations: 15.98 kB / 366.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.2125, allocations: 100.8 kB / 366.5 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.2125, allocations: 4 kB / 366.5 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/0.2164, allocations: 1.987 MB / 368.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2164, allocations: 0 / 368.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.2177, allocations: 423.8 kB / 368.9 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.2179, allocations: 120.6 kB / 369 MB, free: 1.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.2179, allocations: 3.938 kB / 369 MB, free: 1.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.2183, allocations: 27.98 kB / 369.1 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.675e-05/0.2184, allocations: 7.984 kB / 369.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.2184, allocations: 11.98 kB / 369.1 MB, free: 1.398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003164/0.2187, allocations: 210 kB / 369.3 MB, free: 1.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2187, allocations: 4 kB / 369.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008983/0.2196, allocations: 91.75 kB / 369.4 MB, free: 1.102 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.0001992/0.2199, allocations: 99.19 kB / 369.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.221, allocations: 350.5 kB / 369.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.221, allocations: 0 / 369.8 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005458/0.2215, allocations: 239 kB / 370.1 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.2222, allocations: 48.73 kB / 370.1 MB, free: 348 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2443/0.4666, allocations: 0.6887 MB / 370.8 MB, free: 24.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.467, allocations: 0.7668 MB / 371.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.4672, allocations: 25.34 kB / 371.6 MB, free: 23.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.333e-05/0.4673, allocations: 19.64 kB / 371.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4673, allocations: 2.656 kB / 371.6 MB, free: 23.49 MB / 302.1 MB Notification: Performance of Templates: time 0.01032/0.4777, allocations: 3.343 MB / 375 MB, free: 23.41 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 -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/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_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches