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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 222.9 MB / 240.9 MB, free: 11.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 105.2 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008867/0.0008867, allocations: 31.95 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3298, allocations: 49.45 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004222/0.3341, allocations: 2.892 MB / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3352, allocations: 0.7195 MB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.3354, allocations: 4 kB / 403.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3356, allocations: 31.7 kB / 403.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.3358, allocations: 87.44 kB / 403.2 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.3362, allocations: 95.86 kB / 403.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003715/0.3365, allocations: 370.5 kB / 403.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.3368, allocations: 111.8 kB / 403.8 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.337, allocations: 135.5 kB / 403.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3372, allocations: 155.3 kB / 404.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.3373, allocations: 20 kB / 404.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.033e-05/0.3374, allocations: 24 kB / 404.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.3374, allocations: 55.7 kB / 404.2 MB, free: 28.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.3376, allocations: 159.1 kB / 404.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.3379, allocations: 408.1 kB / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3379, allocations: 0 / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3379, allocations: 4 kB / 404.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.338, allocations: 0 / 404.7 MB, free: 28.13 MB / 298.7 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.001416/0.3394, allocations: 0.6575 MB / 405.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.3394, allocations: 8.031 kB / 405.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.3396, allocations: 32.56 kB / 405.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.3399, allocations: 288.6 kB / 405.7 MB, free: 27.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.34, allocations: 24.92 kB / 405.7 MB, free: 27.03 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/0.34, allocations: 24.38 kB / 405.8 MB, free: 27.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.3407, allocations: 320 kB / 406.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3407, allocations: 0 / 406.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3408, allocations: 4 kB / 406.1 MB, free: 26.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3408, allocations: 8 kB / 406.1 MB, free: 26.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/0.3416, allocations: 278 kB / 406.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.3434, allocations: 1.111 MB / 407.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/0.3443, allocations: 246.5 kB / 407.7 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.3446, allocations: 108.8 kB / 407.8 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3447, allocations: 3.938 kB / 407.8 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.3453, allocations: 172.9 kB / 408 MB, free: 24.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 3.016e-06/0.3453, allocations: 0 / 408 MB, free: 24.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001024/0.3463, allocations: 309.2 kB / 408.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3464, allocations: 81.11 kB / 408.4 MB, free: 24.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.3467, allocations: 270.5 kB / 408.6 MB, free: 23.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3467, allocations: 29.7 kB / 408.7 MB, free: 23.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.3468, allocations: 191.6 kB / 408.8 MB, free: 23.76 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.3468, allocations: 43.38 kB / 408.9 MB, free: 23.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.3469, allocations: 53.61 kB / 408.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.347, allocations: 334.8 kB / 409.3 MB, free: 23.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.3473, allocations: 108.1 kB / 409.4 MB, free: 23.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.3477, allocations: 189.1 kB / 409.6 MB, free: 22.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.3483, allocations: 299.8 kB / 409.8 MB, free: 22.65 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3483, allocations: 0 / 409.8 MB, free: 22.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008012/0.3491, allocations: 361.8 kB / 410.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.3492, allocations: 41.64 kB / 410.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3492, allocations: 4 kB / 410.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.243e-05/0.3493, allocations: 4 kB / 410.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.3496, allocations: 63.94 kB / 410.3 MB, free: 22.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3496, allocations: 7.938 kB / 410.3 MB, free: 22.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.3499, allocations: 55.72 kB / 410.4 MB, free: 22.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.3499, allocations: 11.94 kB / 410.4 MB, free: 22.1 MB / 298.7 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.0001324/0.3501, allocations: 149.8 kB / 410.5 MB, free: 21.94 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.3501, allocations: 23.7 kB / 410.6 MB, free: 21.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.3502, allocations: 25.7 kB / 410.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3502, allocations: 4 kB / 410.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3502, allocations: 0 / 410.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3502, allocations: 3.938 kB / 410.6 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3505, allocations: 313.4 kB / 410.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3505, allocations: 0 / 410.9 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.3507, allocations: 43.95 kB / 410.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3507, allocations: 0 / 410.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.3507, allocations: 11.94 kB / 410.9 MB, free: 21.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3507, allocations: 0 / 410.9 MB, free: 21.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3507, allocations: 0 / 410.9 MB, free: 21.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/0.3555, allocations: 2.091 MB / 413 MB, free: 19.24 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.3556, allocations: 100.8 kB / 413.1 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.3556, allocations: 4 kB / 413.1 MB, free: 19.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.3558, allocations: 27.97 kB / 413.2 MB, free: 19.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.3559, allocations: 23.91 kB / 413.2 MB, free: 19.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3559, allocations: 4 kB / 413.2 MB, free: 19.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001957/0.3561, allocations: 197.9 kB / 413.4 MB, free: 18.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3562, allocations: 0 / 413.4 MB, free: 18.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004838/0.3566, allocations: 91.78 kB / 413.5 MB, free: 18.79 MB / 298.7 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.000233/0.3569, allocations: 103.2 kB / 413.6 MB, free: 18.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008804/0.3578, allocations: 287.8 kB / 413.9 MB, free: 18.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3578, allocations: 4 kB / 413.9 MB, free: 18.38 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.3581, allocations: 100.6 kB / 414 MB, free: 18.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.3585, allocations: 52.62 kB / 414 MB, free: 18.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.36, allocations: 0.768 MB / 414.8 MB, free: 17.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3603, allocations: 0.756 MB / 415.5 MB, free: 16.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.3605, allocations: 34.27 kB / 415.6 MB, free: 16.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.3606, allocations: 19.44 kB / 415.6 MB, free: 16.58 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3606, allocations: 0 / 415.6 MB, free: 16.58 MB / 298.7 MB Notification: Performance of Templates: time 0.007152/0.3678, allocations: 3.328 MB / 418.9 MB, free: 13.29 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches