Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009606/0.0009607, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 227.7 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003215, allocations: 8.281 kB / 307.8 MB, free: 0.7695 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 51.51 MB / 359.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003403/0.1313, allocations: 2.551 MB / 361.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1328, allocations: 0.748 MB / 362.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1329, allocations: 4 kB / 362.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.1331, allocations: 31.75 kB / 362.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.1333, allocations: 83.39 kB / 362.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1336, allocations: 103.8 kB / 362.8 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.134, allocations: 358.6 kB / 363.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.1342, allocations: 107.8 kB / 363.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.1345, allocations: 123.4 kB / 363.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1347, allocations: 155.2 kB / 363.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1348, allocations: 16 kB / 363.5 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.985e-05/0.1348, allocations: 16 kB / 363.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.358e-05/0.1349, allocations: 51.77 kB / 363.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.1351, allocations: 161 kB / 363.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.1355, allocations: 406.7 kB / 364.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1355, allocations: 0 / 364.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1356, allocations: 0 / 364.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1356, allocations: 0 / 364.2 MB, free: 8.344 MB / 302.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.001319/0.1369, allocations: 0.6303 MB / 364.8 MB, free: 7.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.137, allocations: 8.031 kB / 364.8 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.137, allocations: 40.5 kB / 364.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.1375, allocations: 288.7 kB / 365.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1375, allocations: 16.94 kB / 365.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.1376, allocations: 28.38 kB / 365.2 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.1383, allocations: 339.9 kB / 365.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1383, allocations: 0 / 365.5 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1384, allocations: 12 kB / 365.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1384, allocations: 8 kB / 365.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.1393, allocations: 298.1 kB / 365.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.1415, allocations: 1.143 MB / 366.9 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1425, allocations: 278.5 kB / 367.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.1429, allocations: 120.8 kB / 367.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.1429, allocations: 0 / 367.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006014/0.1435, allocations: 189 kB / 367.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.1436, allocations: 0 / 367.5 MB, free: 4.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001261/0.1448, allocations: 361.1 kB / 367.9 MB, free: 4.398 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.1449, allocations: 77.11 kB / 367.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.1453, allocations: 270.5 kB / 368.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.1453, allocations: 25.7 kB / 368.2 MB, free: 4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1455, allocations: 199.5 kB / 368.4 MB, free: 3.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.1456, allocations: 43.45 kB / 368.5 MB, free: 3.758 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.1456, allocations: 17.72 kB / 368.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1458, allocations: 342.8 kB / 368.8 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1461, allocations: 116.2 kB / 368.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.1466, allocations: 208.6 kB / 369.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007827/0.1474, allocations: 334.2 kB / 369.5 MB, free: 2.664 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1474, allocations: 0 / 369.5 MB, free: 2.664 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009744/0.1484, allocations: 394.9 kB / 369.9 MB, free: 2.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.1484, allocations: 33.7 kB / 369.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1485, allocations: 0 / 369.9 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.1485, allocations: 8.062 kB / 369.9 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.1488, allocations: 75.88 kB / 370 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.1489, allocations: 7.984 kB / 370 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.1492, allocations: 63.69 kB / 370 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.1492, allocations: 16 kB / 370.1 MB, free: 2.059 MB / 302.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 (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 (26): * Single equations (assignments): 25 * 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.0002009/0.1494, allocations: 145.8 kB / 370.2 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.1495, allocations: 19.72 kB / 370.2 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.03e-05/0.1496, allocations: 33.64 kB / 370.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1496, allocations: 0 / 370.2 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1496, allocations: 3.938 kB / 370.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1496, allocations: 7.938 kB / 370.3 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.15, allocations: 313.4 kB / 370.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.15, allocations: 4 kB / 370.6 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002473/0.1503, allocations: 51.95 kB / 370.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1503, allocations: 0 / 370.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1503, allocations: 0 / 370.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1503, allocations: 11.98 kB / 370.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1503, allocations: 0 / 370.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1515, allocations: 411.8 kB / 371 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.1516, allocations: 104.8 kB / 371.1 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.1516, allocations: 8 kB / 371.1 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.1519, allocations: 43.95 kB / 371.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.1519, allocations: 15.98 kB / 371.2 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.152, allocations: 3.938 kB / 371.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.1522, allocations: 194 kB / 371.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1522, allocations: 0 / 371.4 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1525, allocations: 63.84 kB / 371.5 MB, free: 0.5586 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 (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.0001465/0.1526, allocations: 103.2 kB / 371.6 MB, free: 460 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008556/0.1535, allocations: 322.5 kB / 371.9 MB, free: 128 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1535, allocations: 4.062 kB / 371.9 MB, free: 124 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.1539, allocations: 115.9 kB / 372 MB, free: 8 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1916/0.3455, allocations: 39.72 kB / 372 MB, free: 19.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.3475, allocations: 0.6567 MB / 372.7 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3478, allocations: 0.7499 MB / 373.4 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.348, allocations: 29.08 kB / 373.5 MB, free: 18.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.739e-05/0.3481, allocations: 21.67 kB / 373.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.715e-06/0.3481, allocations: 0 / 373.5 MB, free: 18.62 MB / 302.1 MB Notification: Performance of Templates: time 0.008785/0.3569, allocations: 2.72 MB / 376.2 MB, free: 18.47 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches