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.0008725/0.0008727, allocations: 88.75 kB / 16.65 MB, free: 6.535 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.001361/0.001362, allocations: 177.1 kB / 17.56 MB, free: 6.18 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.584/1.584, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 7.938 kB / 301.4 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 50.41 MB / 351.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00371/0.13, allocations: 2.534 MB / 354.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.1315, allocations: 0.7168 MB / 355.1 MB, free: 464 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1316, allocations: 4 kB / 355.1 MB, free: 460 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1318, allocations: 31.7 kB / 355.1 MB, free: 428 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1321, allocations: 87.38 kB / 355.2 MB, free: 340 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.1324, allocations: 95.91 kB / 355.3 MB, free: 244 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004363/0.1329, allocations: 354.6 kB / 355.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.1332, allocations: 119.7 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.1334, allocations: 119.5 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1336, allocations: 139.3 kB / 356 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.1337, allocations: 19.98 kB / 356 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.036e-05/0.1337, allocations: 20 kB / 356.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.1338, allocations: 51.7 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.134, allocations: 172.9 kB / 356.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.1345, allocations: 394.8 kB / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.1345, allocations: 0 / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.53e-06/0.1345, allocations: 4 kB / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1345, allocations: 3.938 kB / 356.7 MB, free: 14.86 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.001575/0.1361, allocations: 0.6264 MB / 357.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.949e-05/0.1362, allocations: 12.03 kB / 357.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1363, allocations: 32.56 kB / 357.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.1368, allocations: 288.6 kB / 357.6 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.1369, allocations: 16.94 kB / 357.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/0.1369, allocations: 28.36 kB / 357.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.1378, allocations: 332 kB / 358 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1379, allocations: 0 / 358 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.1379, allocations: 12 kB / 358 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1379, allocations: 4 kB / 358 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009111/0.1388, allocations: 306 kB / 358.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.1413, allocations: 1.15 MB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1424, allocations: 274.6 kB / 359.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.1428, allocations: 116.8 kB / 359.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.1428, allocations: 4 kB / 359.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005811/0.1434, allocations: 196.8 kB / 360 MB, free: 11.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1434, allocations: 0 / 360 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.00117/0.1446, allocations: 353.2 kB / 360.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.1447, allocations: 81.11 kB / 360.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.145, allocations: 270.5 kB / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.1451, allocations: 25.7 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1452, allocations: 195.5 kB / 360.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.1453, allocations: 43.39 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.1453, allocations: 25.7 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1455, allocations: 346.7 kB / 361.3 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.1459, allocations: 116.2 kB / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.1463, allocations: 204.5 kB / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007896/0.1471, allocations: 335.7 kB / 362 MB, free: 9.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.1471, allocations: 0 / 362 MB, free: 9.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009475/0.1481, allocations: 387 kB / 362.4 MB, free: 8.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.1482, allocations: 37.7 kB / 362.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1482, allocations: 0 / 362.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1482, allocations: 4 kB / 362.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.1485, allocations: 71.89 kB / 362.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.1486, allocations: 7.984 kB / 362.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.1489, allocations: 63.72 kB / 362.5 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.1489, allocations: 12 kB / 362.6 MB, free: 8.59 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.0001698/0.1491, allocations: 145.7 kB / 362.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1491, allocations: 19.72 kB / 362.7 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/0.1492, allocations: 33.7 kB / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1492, allocations: 0 / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1492, allocations: 0 / 362.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1492, allocations: 3.938 kB / 362.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.1496, allocations: 309.5 kB / 363.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1496, allocations: 0 / 363.1 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1499, allocations: 59.95 kB / 363.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1499, allocations: 0 / 363.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.1499, allocations: 0 / 363.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.1499, allocations: 4 kB / 363.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1499, allocations: 7.938 kB / 363.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.151, allocations: 412.5 kB / 363.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1511, allocations: 104.9 kB / 363.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.1512, allocations: 7.984 kB / 363.6 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1514, allocations: 35.97 kB / 363.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.1515, allocations: 15.97 kB / 363.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.1515, allocations: 7.938 kB / 363.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001792/0.1517, allocations: 190 kB / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1517, allocations: 0 / 363.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.152, allocations: 67.84 kB / 364 MB, free: 7.098 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.0001486/0.1522, allocations: 103.2 kB / 364.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008399/0.153, allocations: 330.3 kB / 364.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.153, allocations: 0 / 364.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.1534, allocations: 116.5 kB / 364.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1538, allocations: 52.39 kB / 364.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.155, allocations: 0.6497 MB / 365.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.1553, allocations: 0.756 MB / 365.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1555, allocations: 26.28 kB / 366 MB, free: 5.008 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.413e-05/0.1556, allocations: 23.38 kB / 366 MB, free: 4.984 MB / 302.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1556, allocations: 0 / 366 MB, free: 4.984 MB / 302.1 MB Notification: Performance of Templates: time 0.009348/0.1649, allocations: 2.734 MB / 368.7 MB, free: 2.277 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches