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.0008668/0.0008668, allocations: 91.8 kB / 17.31 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.001076/0.001076, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.354/1.354, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002296/0.0002296, allocations: 11.94 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07455/0.0748, allocations: 50.42 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002603/0.07742, allocations: 2.534 MB / 355 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.07855, allocations: 0.7091 MB / 355.8 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.0787, allocations: 7.938 kB / 355.8 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.07882, allocations: 35.75 kB / 355.8 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.07902, allocations: 79.39 kB / 355.9 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.07927, allocations: 99.91 kB / 356 MB, free: 224 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000343/0.07962, allocations: 362.6 kB / 356.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.07983, allocations: 103.7 kB / 356.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.08003, allocations: 123.5 kB / 356.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.08021, allocations: 143.3 kB / 356.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/0.08026, allocations: 20 kB / 356.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.159e-05/0.08031, allocations: 16 kB / 356.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.08036, allocations: 59.69 kB / 356.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.08051, allocations: 164.9 kB / 356.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.08079, allocations: 331.3 kB / 357.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.0808, allocations: 0 / 357.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.08081, allocations: 0 / 357.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.08082, allocations: 0 / 357.3 MB, free: 14.91 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.001117/0.08194, allocations: 0.6342 MB / 357.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.08198, allocations: 11.97 kB / 357.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.08206, allocations: 32.56 kB / 357.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.08237, allocations: 296.6 kB / 358.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.0824, allocations: 16.94 kB / 358.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.08245, allocations: 20.38 kB / 358.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007062/0.08316, allocations: 332 kB / 358.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.08318, allocations: 0 / 358.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.08322, allocations: 12 kB / 358.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.08323, allocations: 4 kB / 358.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.08409, allocations: 310 kB / 358.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.08586, allocations: 1.142 MB / 360.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.08678, allocations: 278.6 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.08716, allocations: 116.8 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.08719, allocations: 7.938 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.08766, allocations: 177 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.432e-06/0.08767, allocations: 3.938 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001151/0.08883, allocations: 365.5 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.08889, allocations: 85.05 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.08915, allocations: 262.5 kB / 361.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.08918, allocations: 33.7 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.0893, allocations: 187.6 kB / 361.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.08934, allocations: 39.45 kB / 361.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.08939, allocations: 29.7 kB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.0895, allocations: 342.7 kB / 361.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.0899, allocations: 112.2 kB / 362 MB, free: 9.848 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.09033, allocations: 208.5 kB / 362.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.0911, allocations: 338.8 kB / 362.6 MB, free: 9.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.09112, allocations: 4 kB / 362.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009287/0.09205, allocations: 387 kB / 363 MB, free: 8.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.09209, allocations: 33.69 kB / 363 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.09211, allocations: 4 kB / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.09212, allocations: 4 kB / 363 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.09244, allocations: 79.95 kB / 363.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.09246, allocations: 4 kB / 363.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.09279, allocations: 63.64 kB / 363.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.09282, allocations: 8 kB / 363.2 MB, free: 8.641 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.0001281/0.09296, allocations: 149.7 kB / 363.3 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.093, allocations: 23.72 kB / 363.3 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.09306, allocations: 21.7 kB / 363.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.09307, allocations: 4 kB / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.09307, allocations: 0 / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.09308, allocations: 3.938 kB / 363.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.09334, allocations: 309.5 kB / 363.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.09336, allocations: 3.984 kB / 363.7 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.09363, allocations: 59.89 kB / 363.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.09364, allocations: 0 / 363.7 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.09366, allocations: 11.98 kB / 363.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.09367, allocations: 0 / 363.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.09368, allocations: 0 / 363.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.09482, allocations: 416.5 kB / 364.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.09489, allocations: 100.8 kB / 364.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.09494, allocations: 4 kB / 364.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.09521, allocations: 40.02 kB / 364.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.09527, allocations: 15.98 kB / 364.3 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.0953, allocations: 11.94 kB / 364.3 MB, free: 7.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.09547, allocations: 190 kB / 364.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09548, allocations: 0 / 364.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.09578, allocations: 63.84 kB / 364.6 MB, free: 7.145 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 8.265e-05/0.09587, allocations: 103.2 kB / 364.7 MB, free: 7.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008548/0.09673, allocations: 327.2 kB / 365 MB, free: 6.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.09674, allocations: 0 / 365 MB, free: 6.703 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000373/0.09712, allocations: 120.4 kB / 365.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.09744, allocations: 40.48 kB / 365.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.09852, allocations: 0.6858 MB / 365.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/0.09878, allocations: 0.7559 MB / 366.6 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.311e-05/0.09887, allocations: 19.44 kB / 366.6 MB, free: 5.027 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.09888, allocations: 4 kB / 366.6 MB, free: 5.023 MB / 302.1 MB Notification: Performance of Templates: time 0.004895/0.1038, allocations: 3.278 MB / 369.9 MB, free: 1.754 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