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.0009062/0.0009062, allocations: 98.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001007, allocations: 199.7 kB / 17.89 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 8 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003248/0.1287, allocations: 2.35 MB / 360.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.13, allocations: 0.729 MB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.1303, allocations: 7.938 kB / 361.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1304, allocations: 35.75 kB / 361.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.1307, allocations: 103.7 kB / 361.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.1312, allocations: 71.84 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.1317, allocations: 239.5 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.1321, allocations: 97.75 kB / 361.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.1325, allocations: 127.5 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1327, allocations: 139.4 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.1328, allocations: 16 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.604e-05/0.1328, allocations: 20 kB / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.1329, allocations: 55.75 kB / 362.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.133, allocations: 77.58 kB / 362.1 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.1334, allocations: 327.3 kB / 362.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1335, allocations: 0 / 362.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.1335, allocations: 0 / 362.4 MB, free: 9.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1335, allocations: 0 / 362.4 MB, free: 9.516 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.001523/0.135, allocations: 0.6301 MB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1351, allocations: 8.031 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1352, allocations: 31.62 kB / 363.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.1356, allocations: 283.5 kB / 363.4 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.18e-05/0.1357, allocations: 16.56 kB / 363.4 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.1358, allocations: 24 kB / 363.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007903/0.1365, allocations: 327.6 kB / 363.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1366, allocations: 4 kB / 363.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1366, allocations: 11.92 kB / 363.8 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1366, allocations: 8 kB / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.1375, allocations: 302.1 kB / 364.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.1396, allocations: 1.142 MB / 365.2 MB, free: 6.555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/0.1405, allocations: 282.5 kB / 365.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1405, allocations: 0 / 365.5 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005443/0.1411, allocations: 181 kB / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.943e-06/0.1411, allocations: 0 / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001125/0.1422, allocations: 361.5 kB / 366 MB, free: 5.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.1423, allocations: 81.05 kB / 366.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1426, allocations: 266.5 kB / 366.4 MB, free: 5.352 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.1427, allocations: 29.7 kB / 366.4 MB, free: 5.316 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1428, allocations: 199.5 kB / 366.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.1429, allocations: 35.45 kB / 366.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.1429, allocations: 8 kB / 366.6 MB, free: 5.074 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1431, allocations: 334.8 kB / 367 MB, free: 4.738 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.1434, allocations: 120.1 kB / 367.1 MB, free: 4.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.1438, allocations: 200.6 kB / 367.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1442, allocations: 157.6 kB / 367.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1442, allocations: 0 / 367.4 MB, free: 4.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009007/0.1452, allocations: 397.3 kB / 367.8 MB, free: 3.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.1452, allocations: 37.64 kB / 367.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1452, allocations: 0 / 367.8 MB, free: 3.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.1453, allocations: 4 kB / 367.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.1456, allocations: 71.89 kB / 367.9 MB, free: 3.707 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1456, allocations: 8.047 kB / 367.9 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.1459, allocations: 59.72 kB / 368 MB, free: 3.641 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.1459, allocations: 12 kB / 368 MB, free: 3.629 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.0001972/0.1461, allocations: 150.4 kB / 368.1 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.1462, allocations: 27.8 kB / 368.2 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.019e-05/0.1463, allocations: 21.72 kB / 368.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1463, allocations: 0 / 368.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1463, allocations: 0 / 368.2 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.1463, allocations: 7.984 kB / 368.2 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.1467, allocations: 313.3 kB / 368.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1467, allocations: 0 / 368.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1469, allocations: 59.89 kB / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1469, allocations: 0 / 368.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.147, allocations: 7.938 kB / 368.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.147, allocations: 4 kB / 368.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.147, allocations: 0 / 368.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.1481, allocations: 413 kB / 369 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.1482, allocations: 104.8 kB / 369.1 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.119e-05/0.1482, allocations: 4 kB / 369.1 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.1484, allocations: 35.97 kB / 369.1 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.641e-05/0.1485, allocations: 15.97 kB / 369.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.1485, allocations: 4.062 kB / 369.1 MB, free: 2.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1487, allocations: 198 kB / 369.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1487, allocations: 0 / 369.3 MB, free: 2.188 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000304/0.149, allocations: 63.78 kB / 369.4 MB, free: 2.125 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.0001632/0.1492, allocations: 107.1 kB / 369.5 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007985/0.15, allocations: 323.2 kB / 369.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.15, allocations: 0 / 369.8 MB, free: 1.684 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003489/0.1504, allocations: 120.4 kB / 369.9 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1507, allocations: 48.42 kB / 370 MB, free: 1.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1521, allocations: 0.6298 MB / 370.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1524, allocations: 0.7599 MB / 371.4 MB, free: 80 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.1526, allocations: 26.3 kB / 371.4 MB, free: 52 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.1526, allocations: 23.42 kB / 371.4 MB, free: 32 kB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1527, allocations: 0 / 371.4 MB, free: 32 kB / 302.1 MB Notification: Performance of Templates: time 0.188/0.3406, allocations: 2.609 MB / 374 MB, free: 19.59 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","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches