Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.001249, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001286/0.001286, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 51.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1412, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005803/0.1471, allocations: 3.186 MB / 331.9 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.1496, allocations: 0.9983 MB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005684/0.1503, allocations: 4 kB / 332.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1506, allocations: 67.36 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008327/0.1515, allocations: 123 kB / 333.1 MB, free: 15.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006361/0.1521, allocations: 151.6 kB / 333.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.153, allocations: 482 kB / 333.7 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.1534, allocations: 127.2 kB / 333.8 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.1538, allocations: 187.3 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.1541, allocations: 215.1 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.429e-05/0.1542, allocations: 40 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1544, allocations: 75.97 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1546, allocations: 99.66 kB / 334.4 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.1548, allocations: 206.9 kB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006975/0.1556, allocations: 0.4904 MB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1556, allocations: 0 / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1556, allocations: 4 kB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1556, allocations: 0 / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001687/0.1573, allocations: 0.7403 MB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.1574, allocations: 8.031 kB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.1575, allocations: 48.47 kB / 335.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.1581, allocations: 311.3 kB / 336.2 MB, free: 12.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.1581, allocations: 21.03 kB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.058e-05/0.1582, allocations: 36.38 kB / 336.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.1589, allocations: 357.3 kB / 336.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.1589, allocations: 0 / 336.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.159, allocations: 19.98 kB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.159, allocations: 8 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.1595, allocations: 238.4 kB / 336.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.1617, allocations: 1.174 MB / 338.1 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006807/0.1624, allocations: 275.5 kB / 338.3 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.1629, allocations: 217.2 kB / 338.6 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/0.1641, allocations: 1.109 MB / 339.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.1641, allocations: 38.8 kB / 339.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 4.128e-06/0.1641, allocations: 0 / 339.7 MB, free: 8.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001534/0.1657, allocations: 0.5287 MB / 340.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.1658, allocations: 85.11 kB / 340.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004189/0.1662, allocations: 341.6 kB / 340.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.1663, allocations: 37.64 kB / 340.7 MB, free: 7.223 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.1664, allocations: 216 kB / 340.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1666, allocations: 102.5 kB / 341 MB, free: 6.906 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1667, allocations: 70.06 kB / 341.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1669, allocations: 350.7 kB / 341.4 MB, free: 6.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.1671, allocations: 100.7 kB / 341.5 MB, free: 6.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.1674, allocations: 185.8 kB / 341.7 MB, free: 6.168 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.1679, allocations: 299.1 kB / 342 MB, free: 5.848 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.168, allocations: 4 kB / 342 MB, free: 5.844 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009473/0.1689, allocations: 425.6 kB / 342.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1689, allocations: 7.938 kB / 342.4 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.169, allocations: 4 kB / 342.4 MB, free: 5.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/0.1693, allocations: 68.75 kB / 342.5 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003399/0.1697, allocations: 79.89 kB / 342.6 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.1718, allocations: 1.947 MB / 344.5 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.1721, allocations: 39.67 kB / 344.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1721, allocations: 12 kB / 344.6 MB, free: 3.125 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.1724, allocations: 165.6 kB / 344.7 MB, free: 2.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.1725, allocations: 35.53 kB / 344.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00079/0.1733, allocations: 330.4 kB / 345.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1733, allocations: 192 / 345.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1733, allocations: 7.938 kB / 345.1 MB, free: 2.574 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1733, allocations: 7.922 kB / 345.1 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005453/0.1739, allocations: 389.2 kB / 345.5 MB, free: 2.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1739, allocations: 4 kB / 345.5 MB, free: 2.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.1743, allocations: 55.95 kB / 345.5 MB, free: 2.078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.1746, allocations: 60.81 kB / 345.6 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1746, allocations: 4 kB / 345.6 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005068/0.1751, allocations: 0.6108 MB / 346.2 MB, free: 1.375 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1751, allocations: 4.062 kB / 346.2 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/0.1761, allocations: 0.5119 MB / 346.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.1763, allocations: 136.6 kB / 346.9 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.1763, allocations: 4 kB / 346.9 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.1766, allocations: 23.98 kB / 346.9 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.1767, allocations: 19.97 kB / 346.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.1767, allocations: 8 kB / 346.9 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.177, allocations: 239.2 kB / 347.1 MB, free: 412 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.177, allocations: 0 / 347.1 MB, free: 412 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.1775, allocations: 107.8 kB / 347.2 MB, free: 304 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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.0002937/0.1778, allocations: 135.1 kB / 347.4 MB, free: 156 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1789, allocations: 411.1 kB / 347.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.1789, allocations: 7.938 kB / 347.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.1793, allocations: 144.3 kB / 347.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1798, allocations: 37.42 kB / 348 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.1815, allocations: 0.8579 MB / 348.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.1821, allocations: 0.7912 MB / 349.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.1822, allocations: 42.89 kB / 349.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.574e-05/0.1823, allocations: 27.42 kB / 349.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1823, allocations: 0 / 349.7 MB, free: 13.78 MB / 302.1 MB Notification: Performance of Templates: time 0.009707/0.1921, allocations: 3.953 MB / 353.6 MB, free: 9.824 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches