Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.0009217/0.0009218, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009189/0.000919, allocations: 178.4 kB / 17.2 MB, free: 5.914 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.448/1.448, allocations: 223.2 MB / 241.1 MB, free: 5.238 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004315, allocations: 10.59 kB / 300.7 MB, free: 5.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 50.41 MB / 351.1 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003715/0.1217, allocations: 2.339 MB / 353.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.123, allocations: 0.694 MB / 354.2 MB, free: 8.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.1231, allocations: 7.938 kB / 354.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.818e-05/0.1232, allocations: 35.75 kB / 354.2 MB, free: 8.332 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.1235, allocations: 103.7 kB / 354.3 MB, free: 8.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1238, allocations: 71.86 kB / 354.4 MB, free: 8.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.1241, allocations: 243.5 kB / 354.6 MB, free: 7.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002245/0.1244, allocations: 89.81 kB / 354.7 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1246, allocations: 123.5 kB / 354.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1248, allocations: 135.4 kB / 355 MB, free: 7.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.1249, allocations: 20 kB / 355 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.296e-05/0.1249, allocations: 20 kB / 355 MB, free: 7.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.125, allocations: 51.75 kB / 355.1 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1251, allocations: 77.58 kB / 355.1 MB, free: 7.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003034/0.1254, allocations: 323 kB / 355.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1254, allocations: 0 / 355.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1254, allocations: 0 / 355.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1255, allocations: 0 / 355.5 MB, free: 7.09 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001256/0.1267, allocations: 0.6379 MB / 356.1 MB, free: 6.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1268, allocations: 8.031 kB / 356.1 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.1268, allocations: 31.62 kB / 356.1 MB, free: 6.355 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.1273, allocations: 283.5 kB / 356.4 MB, free: 6.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1274, allocations: 16.5 kB / 356.4 MB, free: 6.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.1274, allocations: 24 kB / 356.4 MB, free: 5.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006847/0.1281, allocations: 327.6 kB / 356.8 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1281, allocations: 3.984 kB / 356.8 MB, free: 5.664 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.1282, allocations: 12 kB / 356.8 MB, free: 5.652 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1282, allocations: 12 kB / 356.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/0.129, allocations: 302 kB / 357.1 MB, free: 5.344 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.1308, allocations: 1.146 MB / 358.2 MB, free: 4.117 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.1317, allocations: 278.6 kB / 358.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1317, allocations: 0 / 358.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.1322, allocations: 184.9 kB / 358.7 MB, free: 3.637 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.773e-06/0.1322, allocations: 224 / 358.7 MB, free: 3.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.00109/0.1333, allocations: 361.2 kB / 359 MB, free: 3.277 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1334, allocations: 77.11 kB / 359.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.1337, allocations: 270.4 kB / 359.4 MB, free: 2.914 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1337, allocations: 33.7 kB / 359.4 MB, free: 2.875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1338, allocations: 183.6 kB / 359.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.1339, allocations: 43.44 kB / 359.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.1339, allocations: 8 kB / 359.6 MB, free: 2.641 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.134, allocations: 334.8 kB / 360 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.1344, allocations: 116.2 kB / 360.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.1348, allocations: 203.5 kB / 360.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.1351, allocations: 167.9 kB / 360.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1352, allocations: 0 / 360.4 MB, free: 1.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008655/0.136, allocations: 386.9 kB / 360.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.1361, allocations: 37.7 kB / 360.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.1361, allocations: 3.938 kB / 360.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1361, allocations: 11.98 kB / 360.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.1364, allocations: 67.89 kB / 360.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.1364, allocations: 8.062 kB / 360.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.1367, allocations: 59.66 kB / 361 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.1368, allocations: 11.98 kB / 361 MB, free: 1.188 MB / 286.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: 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 (26): * Single equations (assignments): 25 * 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.0001417/0.1369, allocations: 145.8 kB / 361.2 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.137, allocations: 23.77 kB / 361.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.137, allocations: 25.7 kB / 361.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.137, allocations: 0 / 361.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1371, allocations: 0 / 361.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1371, allocations: 0 / 361.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.1374, allocations: 321.3 kB / 361.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1374, allocations: 0 / 361.5 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.1377, allocations: 55.89 kB / 361.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1377, allocations: 7.891 kB / 361.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.1377, allocations: 4 kB / 361.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1377, allocations: 7.984 kB / 361.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1377, allocations: 0 / 361.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1388, allocations: 404.7 kB / 362 MB, free: 136 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.1388, allocations: 100.8 kB / 362.1 MB, free: 16 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.1389, allocations: 15.94 kB / 362.1 MB, free: 0 / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1391, allocations: 39.95 kB / 362.1 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.1392, allocations: 11.98 kB / 362.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1392, allocations: 7.984 kB / 362.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1394, allocations: 190 kB / 362.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1394, allocations: 0 / 362.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1397, allocations: 63.84 kB / 362.4 MB, free: 15.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * 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.0001392/0.1399, allocations: 103.2 kB / 362.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.1407, allocations: 326.2 kB / 362.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1407, allocations: 0 / 362.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.141, allocations: 120.4 kB / 362.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.1414, allocations: 47.45 kB / 363 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1425, allocations: 0.6259 MB / 363.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.1429, allocations: 0.7599 MB / 364.4 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.143, allocations: 30.27 kB / 364.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.1431, allocations: 19.44 kB / 364.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1431, allocations: 0 / 364.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Templates: time 0.006318/0.1494, allocations: 2.64 MB / 367.1 MB, free: 11 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches