Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 97.83 kB / 16.94 MB, free: 5.98 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.001964/0.001964, allocations: 177.1 kB / 17.82 MB, free: 5.652 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.966/1.966, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004942/0.0004943, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002963/0.1331, allocations: 2.112 MB / 330.5 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1346, allocations: 0.6909 MB / 331.1 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1348, allocations: 7.938 kB / 331.2 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.121e-05/0.1348, allocations: 23.83 kB / 331.2 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.1351, allocations: 91.67 kB / 331.3 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1354, allocations: 67.92 kB / 331.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.1357, allocations: 203.6 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.1359, allocations: 77.06 kB / 331.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1362, allocations: 111.5 kB / 331.7 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1363, allocations: 119.5 kB / 331.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1364, allocations: 16 kB / 331.8 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.582e-05/0.1364, allocations: 12 kB / 331.9 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.1365, allocations: 47.81 kB / 331.9 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.79e-05/0.1366, allocations: 65.58 kB / 332 MB, free: 452 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1368, allocations: 219.6 kB / 332.2 MB, free: 232 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1368, allocations: 0 / 332.2 MB, free: 232 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1369, allocations: 4 kB / 332.2 MB, free: 228 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1369, allocations: 0 / 332.2 MB, free: 228 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001305/0.1382, allocations: 0.5947 MB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1382, allocations: 11.97 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.1383, allocations: 23.72 kB / 332.8 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/0.1387, allocations: 266.3 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.1387, allocations: 12.38 kB / 333.1 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1388, allocations: 20 kB / 333.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.1394, allocations: 248.5 kB / 333.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1394, allocations: 4 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.1395, allocations: 8 kB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1395, allocations: 4 kB / 333.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.1403, allocations: 275.6 kB / 333.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.1419, allocations: 0.8443 MB / 334.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009/0.1428, allocations: 266.6 kB / 334.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1428, allocations: 7.922 kB / 334.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/0.1434, allocations: 181 kB / 334.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1434, allocations: 0 / 334.9 MB, free: 13.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001942/0.1453, allocations: 0.6552 MB / 335.6 MB, free: 12.6 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.1454, allocations: 81.11 kB / 335.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.1457, allocations: 236.9 kB / 335.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1457, allocations: 29.7 kB / 335.9 MB, free: 12.22 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1459, allocations: 171.9 kB / 336.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.1459, allocations: 35.45 kB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.1459, allocations: 4 kB / 336.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1461, allocations: 330.8 kB / 336.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.1464, allocations: 104.1 kB / 336.5 MB, free: 11.57 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.1468, allocations: 167.2 kB / 336.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.1471, allocations: 133.6 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.1471, allocations: 4 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001027/0.1481, allocations: 438.5 kB / 337.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005682/0.1487, allocations: 0.6412 MB / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1487, allocations: 0 / 337.9 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003009/0.149, allocations: 60.81 kB / 338 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.1493, allocations: 47.97 kB / 338 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.1513, allocations: 1.526 MB / 339.5 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1516, allocations: 59.62 kB / 339.6 MB, free: 8.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.1516, allocations: 12 kB / 339.6 MB, free: 8.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.1517, allocations: 8.062 kB / 339.6 MB, free: 8.262 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006807/0.1524, allocations: 282.5 kB / 339.9 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1524, allocations: 4 kB / 339.9 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.651e-05/0.1525, allocations: 29 kB / 339.9 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.1527, allocations: 51.98 kB / 340 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1541, allocations: 1.388 MB / 341.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.1544, allocations: 39.77 kB / 341.4 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1545, allocations: 11.98 kB / 341.4 MB, free: 6.316 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.1548, allocations: 213.3 kB / 341.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.1549, allocations: 16 kB / 341.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.1549, allocations: 37.78 kB / 341.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1549, allocations: 0 / 341.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1549, allocations: 0 / 341.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.155, allocations: 0 / 341.7 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.1553, allocations: 285.3 kB / 342 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1554, allocations: 0 / 342 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.1556, allocations: 39.97 kB / 342 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001777/0.1558, allocations: 60.75 kB / 342.1 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.1558, allocations: 4 kB / 342.1 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.1577, allocations: 1.51 MB / 343.6 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1577, allocations: 4.062 kB / 343.6 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.1589, allocations: 449.9 kB / 344 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.159, allocations: 104.8 kB / 344.1 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1591, allocations: 7.984 kB / 344.1 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1593, allocations: 31.97 kB / 344.2 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.1594, allocations: 27.97 kB / 344.2 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.1594, allocations: 7.984 kB / 344.2 MB, free: 3.309 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000212/0.1596, allocations: 168.5 kB / 344.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1597, allocations: 0 / 344.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000562/0.1602, allocations: 115.7 kB / 344.5 MB, free: 3.031 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.1605, allocations: 99.23 kB / 344.6 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.1618, allocations: 0.6949 MB / 345.3 MB, free: 2.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1618, allocations: 0 / 345.3 MB, free: 2.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.1622, allocations: 226.9 kB / 345.5 MB, free: 1.949 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.1625, allocations: 28.42 kB / 345.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1638, allocations: 0.6068 MB / 346.1 MB, free: 1.293 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.1642, allocations: 0.7479 MB / 346.9 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.1644, allocations: 25.94 kB / 346.9 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.1644, allocations: 19.44 kB / 346.9 MB, free: 484 kB / 286.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1645, allocations: 0 / 346.9 MB, free: 484 kB / 286.1 MB Notification: Performance of Templates: time 0.0077/0.1722, allocations: 3.222 MB / 350.1 MB, free: 13.26 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches