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.001657/0.001657, allocations: 98.77 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002467/0.002467, allocations: 195.4 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.582/1.582, allocations: 227.7 MB / 246.4 MB, free: 9.781 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002872/0.0002872, allocations: 8 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1248, allocations: 51.52 MB / 358.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003113/0.128, allocations: 2.451 MB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.1292, allocations: 0.7133 MB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1294, allocations: 4 kB / 361.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.1296, allocations: 31.7 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.1297, allocations: 79.38 kB / 361.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.13, allocations: 71.84 kB / 362 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1304, allocations: 338.6 kB / 362.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1306, allocations: 109.7 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.1309, allocations: 131.4 kB / 362.6 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.1311, allocations: 131.4 kB / 362.7 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.1312, allocations: 20 kB / 362.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.1312, allocations: 16 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.1313, allocations: 51.77 kB / 362.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.218e-05/0.1314, allocations: 77.58 kB / 362.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1317, allocations: 327.3 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1317, allocations: 0 / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1317, allocations: 4 kB / 363.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1317, allocations: 0 / 363.2 MB, free: 8.844 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.001185/0.1329, allocations: 0.6301 MB / 363.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.133, allocations: 8.031 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.1331, allocations: 35.61 kB / 363.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.1334, allocations: 287.5 kB / 364.1 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.1335, allocations: 20.52 kB / 364.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.1335, allocations: 24 kB / 364.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.1342, allocations: 327.6 kB / 364.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1343, allocations: 0 / 364.5 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1343, allocations: 11.94 kB / 364.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1343, allocations: 11.94 kB / 364.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007409/0.1351, allocations: 302.1 kB / 364.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.1368, allocations: 1.146 MB / 366 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008337/0.1376, allocations: 270.6 kB / 366.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.1379, allocations: 128.7 kB / 366.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1379, allocations: 3.984 kB / 366.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.1385, allocations: 181 kB / 366.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/0.1385, allocations: 0 / 366.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001067/0.1395, allocations: 361.1 kB / 366.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1396, allocations: 89.03 kB / 367 MB, free: 4.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002852/0.1399, allocations: 262.6 kB / 367.2 MB, free: 4.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.1399, allocations: 29.7 kB / 367.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1401, allocations: 195.6 kB / 367.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.1402, allocations: 39.45 kB / 367.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.1402, allocations: 0 / 367.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1404, allocations: 342.8 kB / 367.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.1407, allocations: 116.2 kB / 367.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.1411, allocations: 200.6 kB / 368.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.1414, allocations: 160.4 kB / 368.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1415, allocations: 0 / 368.3 MB, free: 3.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008215/0.1423, allocations: 390.9 kB / 368.7 MB, free: 3.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.1423, allocations: 37.69 kB / 368.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1423, allocations: 3.984 kB / 368.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.291e-05/0.1424, allocations: 4 kB / 368.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.1427, allocations: 79.95 kB / 368.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1427, allocations: 4 kB / 368.8 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.143, allocations: 63.7 kB / 368.9 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.143, allocations: 8 kB / 368.9 MB, free: 2.812 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 ($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.0001514/0.1432, allocations: 153.7 kB / 369 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1432, allocations: 19.81 kB / 369 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.1433, allocations: 25.64 kB / 369.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1433, allocations: 0 / 369.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.1433, allocations: 0 / 369.1 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1433, allocations: 4 kB / 369.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.1436, allocations: 325.3 kB / 369.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1436, allocations: 0 / 369.4 MB, free: 2.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1439, allocations: 47.91 kB / 369.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1439, allocations: 3.984 kB / 369.4 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1439, allocations: 0 / 369.4 MB, free: 2.184 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1439, allocations: 4 kB / 369.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1439, allocations: 0 / 369.4 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009939/0.1449, allocations: 416.6 kB / 369.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.145, allocations: 92.89 kB / 369.9 MB, free: 1.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.244e-05/0.1451, allocations: 15.92 kB / 369.9 MB, free: 1.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.1453, allocations: 36.03 kB / 370 MB, free: 1.594 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.1453, allocations: 15.97 kB / 370 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1454, allocations: 4 kB / 370 MB, free: 1.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1455, allocations: 190 kB / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1456, allocations: 0 / 370.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1459, allocations: 71.69 kB / 370.3 MB, free: 1.316 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.0001628/0.146, allocations: 111.2 kB / 370.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007844/0.1468, allocations: 311.2 kB / 370.7 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1468, allocations: 0.5625 kB / 370.7 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.1472, allocations: 119.9 kB / 370.8 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1475, allocations: 55.06 kB / 370.8 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1487, allocations: 0.6259 MB / 371.5 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1966/0.3453, allocations: 0.7495 MB / 372.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002624/0.3457, allocations: 27.12 kB / 372.2 MB, free: 18.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.822e-05/0.3458, allocations: 20.16 kB / 372.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of SimCode: time 1.673e-06/0.3458, allocations: 0 / 372.3 MB, free: 18.67 MB / 302.1 MB Notification: Performance of Templates: time 0.008552/0.3543, allocations: 2.633 MB / 374.9 MB, free: 18.57 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