Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,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.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,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.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 101.6 kB / 17.16 MB, free: 6.316 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.001432/0.001432, allocations: 190 kB / 18.07 MB, free: 5.414 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.861/1.861, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.00116/0.001159, allocations: 51.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 46.62 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005153/0.1346, allocations: 2.655 MB / 329.3 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1362, allocations: 0.7021 MB / 330 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1364, allocations: 4 kB / 330 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1366, allocations: 31.77 kB / 330 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1368, allocations: 71.41 kB / 330.1 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1371, allocations: 79.91 kB / 330.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1374, allocations: 302.8 kB / 330.4 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.1376, allocations: 73.12 kB / 330.5 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.1378, allocations: 115.4 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.138, allocations: 139.4 kB / 330.8 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.1381, allocations: 16 kB / 330.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.345e-05/0.1382, allocations: 16 kB / 330.8 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.453e-05/0.1382, allocations: 51.77 kB / 330.8 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.1384, allocations: 115.4 kB / 331 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.1387, allocations: 295.2 kB / 331.2 MB, free: 236 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1388, allocations: 4 kB / 331.2 MB, free: 232 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1388, allocations: 0 / 331.2 MB, free: 232 kB / 270.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1388, allocations: 4 kB / 331.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.001471/0.1403, allocations: 0.6181 MB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1403, allocations: 8.031 kB / 331.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.859e-05/0.1404, allocations: 28.66 kB / 331.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.1408, allocations: 267.4 kB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.1408, allocations: 12.75 kB / 332.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.1409, allocations: 20.38 kB / 332.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.1415, allocations: 240.6 kB / 332.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1415, allocations: 0 / 332.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.1416, allocations: 11.94 kB / 332.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1416, allocations: 8 kB / 332.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007344/0.1423, allocations: 243.6 kB / 332.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.1439, allocations: 0.8247 MB / 333.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008244/0.1447, allocations: 234.5 kB / 333.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.145, allocations: 88.8 kB / 333.8 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.1451, allocations: 4 kB / 333.8 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004987/0.1456, allocations: 164.9 kB / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.1456, allocations: 3.938 kB / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009548/0.1465, allocations: 285.6 kB / 334.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1467, allocations: 85.11 kB / 334.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.147, allocations: 240.9 kB / 334.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.147, allocations: 25.7 kB / 334.6 MB, free: 12.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1472, allocations: 171.9 kB / 334.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.1472, allocations: 39.45 kB / 334.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.1473, allocations: 41.7 kB / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1475, allocations: 330.8 kB / 335.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.1478, allocations: 96.78 kB / 335.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.1482, allocations: 146.6 kB / 335.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.1487, allocations: 242.8 kB / 335.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1488, allocations: 4 kB / 335.7 MB, free: 11.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007842/0.1496, allocations: 318.9 kB / 336 MB, free: 11.16 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.1496, allocations: 37.7 kB / 336 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1496, allocations: 0 / 336 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1496, allocations: 4 kB / 336 MB, free: 11.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1499, allocations: 51.95 kB / 336.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1499, allocations: 3.938 kB / 336.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.1502, allocations: 51.73 kB / 336.1 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.1503, allocations: 8 kB / 336.1 MB, free: 11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003534/0.1506, allocations: 172.1 kB / 336.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002863/0.1509, allocations: 134.8 kB / 336.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004727/0.1514, allocations: 215.6 kB / 336.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/0.1514, allocations: 3.938 kB / 336.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006498/0.1521, allocations: 298 kB / 336.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.1521, allocations: 33.7 kB / 337 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1521, allocations: 0 / 337 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.1521, allocations: 4 kB / 337 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.1524, allocations: 55.89 kB / 337 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1524, allocations: 0 / 337 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.1526, allocations: 35.91 kB / 337.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1527, allocations: 8 kB / 337.1 MB, free: 9.984 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001457/0.1528, allocations: 204 kB / 337.3 MB, free: 9.777 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.1529, allocations: 15.81 kB / 337.3 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.1529, allocations: 29.83 kB / 337.3 MB, free: 9.734 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.1529, allocations: 3.938 kB / 337.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1529, allocations: 0 / 337.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1529, allocations: 0 / 337.3 MB, free: 9.73 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.1532, allocations: 285.3 kB / 337.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1532, allocations: 7.984 kB / 337.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.1535, allocations: 43.95 kB / 337.7 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1535, allocations: 4 kB / 337.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.1535, allocations: 0 / 337.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1535, allocations: 0 / 337.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1535, allocations: 0 / 337.7 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.1545, allocations: 348.7 kB / 338 MB, free: 8.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1546, allocations: 100.8 kB / 338.1 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.1547, allocations: 4 kB / 338.1 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.1549, allocations: 32.02 kB / 338.1 MB, free: 8.836 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.155, allocations: 15.98 kB / 338.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.155, allocations: 8 kB / 338.2 MB, free: 8.812 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1552, allocations: 172.5 kB / 338.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1552, allocations: 0 / 338.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004144/0.1556, allocations: 99.75 kB / 338.4 MB, free: 8.547 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001968/0.1558, allocations: 99.23 kB / 338.5 MB, free: 8.441 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001062/0.1569, allocations: 431 kB / 338.9 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1569, allocations: 4.188 kB / 338.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.1572, allocations: 99.86 kB / 339 MB, free: 7.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1575, allocations: 40.34 kB / 339.1 MB, free: 7.855 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.1588, allocations: 0.5574 MB / 339.6 MB, free: 7.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.1593, allocations: 0.7404 MB / 340.4 MB, free: 6.504 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1595, allocations: 25.95 kB / 340.4 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.1596, allocations: 23.36 kB / 340.4 MB, free: 6.457 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1596, allocations: 4 kB / 340.4 MB, free: 6.453 MB / 286.1 MB Notification: Performance of Templates: time 0.007898/0.1675, allocations: 2.712 MB / 343.1 MB, free: 3.746 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches