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.001217/0.001217, allocations: 98.27 kB / 16.93 MB, free: 5.984 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.001553/0.001553, allocations: 178.7 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.912/1.912, 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.0005325/0.0005327, allocations: 12 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1228, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003224/0.1261, allocations: 2.116 MB / 330.5 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1276, allocations: 0.6831 MB / 331.1 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002887/0.1279, allocations: 7.938 kB / 331.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001092/0.128, allocations: 23.83 kB / 331.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.1284, allocations: 95.67 kB / 331.3 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.1288, allocations: 59.92 kB / 331.3 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005171/0.1293, allocations: 207.6 kB / 331.5 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.1296, allocations: 69.08 kB / 331.6 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.1299, allocations: 107.5 kB / 331.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.1302, allocations: 131.4 kB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.1302, allocations: 16 kB / 331.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.1e-05/0.1303, allocations: 16 kB / 331.9 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.1304, allocations: 43.81 kB / 331.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.171e-05/0.1305, allocations: 69.58 kB / 332 MB, free: 452 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1307, allocations: 211.6 kB / 332.2 MB, free: 240 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1308, allocations: 4 kB / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1308, allocations: 0 / 332.2 MB, free: 236 kB / 270.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1308, allocations: 0 / 332.2 MB, free: 236 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.001315/0.1321, allocations: 0.5947 MB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1321, allocations: 8.031 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.998e-05/0.1322, allocations: 27.72 kB / 332.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1326, allocations: 258.3 kB / 333.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.1326, allocations: 16.38 kB / 333.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.1327, allocations: 19.98 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.1333, allocations: 248.5 kB / 333.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.1333, allocations: 7.938 kB / 333.3 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.1334, allocations: 4 kB / 333.3 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1334, allocations: 4 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/0.1342, allocations: 279.6 kB / 333.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1357, allocations: 0.8443 MB / 334.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008446/0.1366, allocations: 270.6 kB / 334.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.1366, allocations: 4 kB / 334.7 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004796/0.1371, allocations: 184.9 kB / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.1371, allocations: 0 / 334.9 MB, free: 13.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009803/0.1381, allocations: 325.3 kB / 335.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.1382, allocations: 89.09 kB / 335.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.1384, allocations: 236.9 kB / 335.6 MB, free: 12.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.1385, allocations: 29.7 kB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.1386, allocations: 179.8 kB / 335.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.1387, allocations: 39.45 kB / 335.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.1387, allocations: 0 / 335.8 MB, free: 12.36 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1389, allocations: 338.8 kB / 336.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.1392, allocations: 100.1 kB / 336.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.1396, allocations: 159.2 kB / 336.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.1399, allocations: 133.7 kB / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.14, allocations: 0 / 336.5 MB, free: 11.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000853/0.1408, allocations: 341.8 kB / 336.8 MB, free: 11.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.1412, allocations: 0.6412 MB / 337.5 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1412, allocations: 8 kB / 337.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1412, allocations: 4 kB / 337.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.1415, allocations: 63.89 kB / 337.6 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1415, allocations: 4 kB / 337.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1418, allocations: 51.81 kB / 337.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.1418, allocations: 7.984 kB / 337.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.1419, allocations: 4 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006146/0.1425, allocations: 273.3 kB / 337.9 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1425, allocations: 4 kB / 337.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.38e-06/0.1425, allocations: 4.406 kB / 337.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.1427, allocations: 63.95 kB / 338 MB, free: 10.08 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1427, allocations: 3.938 kB / 338 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.143, allocations: 43.77 kB / 338 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.143, allocations: 12 kB / 338 MB, free: 10.02 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 (22): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.1432, allocations: 216.4 kB / 338.2 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.1433, allocations: 19.81 kB / 338.3 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.1434, allocations: 25.83 kB / 338.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1434, allocations: 4 kB / 338.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1434, allocations: 0 / 338.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.1434, allocations: 3.953 kB / 338.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.1437, allocations: 281.4 kB / 338.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1437, allocations: 0 / 338.6 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.144, allocations: 59.89 kB / 338.6 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.144, allocations: 0 / 338.6 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.144, allocations: 0 / 338.6 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.144, allocations: 3.984 kB / 338.6 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.144, allocations: 4 kB / 338.6 MB, free: 9.359 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009754/0.145, allocations: 384.7 kB / 339 MB, free: 8.965 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.1451, allocations: 100.9 kB / 339.1 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1451, allocations: 0 / 339.1 MB, free: 8.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1454, allocations: 39.95 kB / 339.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.425e-05/0.1455, allocations: 20.03 kB / 339.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1455, allocations: 11.92 kB / 339.2 MB, free: 8.777 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1456, allocations: 172.5 kB / 339.3 MB, free: 8.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1457, allocations: 3.938 kB / 339.3 MB, free: 8.605 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.1461, allocations: 103.7 kB / 339.4 MB, free: 8.504 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.1462, allocations: 99.2 kB / 339.5 MB, free: 8.398 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1473, allocations: 470.9 kB / 340 MB, free: 7.914 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1474, allocations: 4.25 kB / 340 MB, free: 7.91 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.1477, allocations: 108.5 kB / 340.1 MB, free: 7.805 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.148, allocations: 40.41 kB / 340.2 MB, free: 7.766 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.1491, allocations: 0.5706 MB / 340.7 MB, free: 7.168 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1495, allocations: 0.7443 MB / 341.5 MB, free: 6.398 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.1497, allocations: 21.95 kB / 341.5 MB, free: 6.379 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.421e-05/0.1497, allocations: 27.36 kB / 341.5 MB, free: 6.352 MB / 286.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1497, allocations: 0 / 341.5 MB, free: 6.352 MB / 286.1 MB Notification: Performance of Templates: time 0.00661/0.1563, allocations: 2.609 MB / 344.1 MB, free: 3.75 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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