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.001628/0.001628, allocations: 110.2 kB / 17.16 MB, free: 6.082 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.001905/0.001905, allocations: 194.9 kB / 18.08 MB, free: 5.285 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.831/1.831, allocations: 222.9 MB / 241.8 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 49.86 kB / 300.6 MB, free: 6.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1492, allocations: 49.45 MB / 350.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.007866/0.1571, allocations: 2.896 MB / 353 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.1598, allocations: 0.7208 MB / 353.7 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.1603, allocations: 4 kB / 353.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.1606, allocations: 35.77 kB / 353.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.1612, allocations: 79.38 kB / 353.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.1618, allocations: 103.8 kB / 353.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007443/0.1626, allocations: 358.6 kB / 354.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004123/0.163, allocations: 115.8 kB / 354.4 MB, free: 484 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.1635, allocations: 131.4 kB / 354.5 MB, free: 352 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.1639, allocations: 155.2 kB / 354.6 MB, free: 196 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.164, allocations: 20 kB / 354.7 MB, free: 176 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1642, allocations: 24 kB / 354.7 MB, free: 152 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1643, allocations: 55.77 kB / 354.7 MB, free: 96 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.1647, allocations: 151.3 kB / 354.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.1653, allocations: 335.4 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.1653, allocations: 4 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1654, allocations: 3.938 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.1654, allocations: 0 / 355.2 MB, free: 15.61 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.002483/0.1679, allocations: 0.6614 MB / 355.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.168, allocations: 11.97 kB / 355.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.1681, allocations: 32.56 kB / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.1688, allocations: 288.7 kB / 356.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.1689, allocations: 16.94 kB / 356.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.169, allocations: 28.28 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.1704, allocations: 323.9 kB / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.1704, allocations: 0 / 356.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.1705, allocations: 12 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.1705, allocations: 4 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.1721, allocations: 274.1 kB / 356.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.1759, allocations: 1.123 MB / 358 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.1776, allocations: 242.5 kB / 358.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007281/0.1783, allocations: 104.8 kB / 358.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.1784, allocations: 4 kB / 358.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009675/0.1794, allocations: 169 kB / 358.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 4.048e-06/0.1794, allocations: 0 / 358.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002181/0.1816, allocations: 317.5 kB / 358.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.478e-05/0.1817, allocations: 81.11 kB / 358.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/0.1824, allocations: 258.6 kB / 359.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.1824, allocations: 33.62 kB / 359.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/0.1827, allocations: 195.6 kB / 359.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.1828, allocations: 39.45 kB / 359.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.183, allocations: 49.61 kB / 359.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002209/0.1832, allocations: 342.8 kB / 359.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.1839, allocations: 96.16 kB / 359.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.1847, allocations: 191.5 kB / 360.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.1861, allocations: 299.7 kB / 360.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.1861, allocations: 8 kB / 360.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001821/0.1879, allocations: 362.3 kB / 360.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.188, allocations: 37.69 kB / 360.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.1881, allocations: 3.984 kB / 360.8 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.1881, allocations: 4 kB / 360.8 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.1886, allocations: 63.89 kB / 360.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.1887, allocations: 4 kB / 360.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/0.1894, allocations: 55.8 kB / 360.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.1894, allocations: 12 kB / 360.9 MB, free: 9.57 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.0003033/0.1898, allocations: 145.7 kB / 361 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.834e-05/0.1899, allocations: 23.72 kB / 361.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.19, allocations: 25.7 kB / 361.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.19, allocations: 4 kB / 361.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.19, allocations: 4 kB / 361.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1901, allocations: 7.875 kB / 361.1 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.1907, allocations: 309.5 kB / 361.4 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1907, allocations: 3.938 kB / 361.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.1912, allocations: 47.95 kB / 361.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.1912, allocations: 4 kB / 361.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/0.1913, allocations: 0 / 361.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1913, allocations: 0 / 361.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1913, allocations: 0 / 361.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.1935, allocations: 387.3 kB / 361.8 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1937, allocations: 100.8 kB / 361.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.1938, allocations: 8 kB / 361.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.1943, allocations: 27.95 kB / 362 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1944, allocations: 19.92 kB / 362 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.1945, allocations: 7.922 kB / 362 MB, free: 8.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003713/0.1949, allocations: 194 kB / 362.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1949, allocations: 0 / 362.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.1955, allocations: 63.84 kB / 362.2 MB, free: 8.121 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.0001993/0.1958, allocations: 99.25 kB / 362.3 MB, free: 8.016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.1973, allocations: 299 kB / 362.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1974, allocations: 0 / 362.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.1981, allocations: 104.5 kB / 362.7 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006849/0.1988, allocations: 36.55 kB / 362.8 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.201, allocations: 0.6537 MB / 363.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.2016, allocations: 0.7482 MB / 364.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.2017, allocations: 23.42 kB / 364.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of SimCode: time 9.71e-07/0.2018, allocations: 4 kB / 364.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of Templates: time 0.01078/0.2125, allocations: 3.317 MB / 367.5 MB, free: 2.773 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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