Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 120 kB / 18.46 MB, free: 4.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002668/0.002668, allocations: 212.3 kB / 21.42 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 43.94 kB / 374.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1128, allocations: 53.34 MB / 427.5 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004858/0.1176, allocations: 2.88 MB / 430.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1194, allocations: 0.7634 MB / 431.2 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.1197, allocations: 4 kB / 431.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.1199, allocations: 47.52 kB / 431.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.1203, allocations: 95.23 kB / 431.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.1207, allocations: 119.8 kB / 431.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2038/0.3245, allocations: 383 kB / 431.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.3248, allocations: 88.06 kB / 431.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.3252, allocations: 157.5 kB / 432 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.3254, allocations: 168.7 kB / 432.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.117e-05/0.3255, allocations: 38.06 kB / 432.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.34e-05/0.3255, allocations: 38.56 kB / 432.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.3256, allocations: 77.89 kB / 432.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.3257, allocations: 162.7 kB / 432.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.3262, allocations: 429.8 kB / 432.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3262, allocations: 4.469 kB / 432.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3262, allocations: 1.5 kB / 432.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3262, allocations: 0 / 432.9 MB, free: 8.02 MB / 350.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.001172/0.3274, allocations: 0.6665 MB / 433.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.3274, allocations: 9.531 kB / 433.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.3275, allocations: 37.3 kB / 433.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.3278, allocations: 285.8 kB / 433.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3279, allocations: 17.53 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.3279, allocations: 23.56 kB / 434 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.3285, allocations: 316.8 kB / 434.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3285, allocations: 3.938 kB / 434.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.3286, allocations: 16.25 kB / 434.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.3286, allocations: 6.844 kB / 434.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/0.3293, allocations: 269.8 kB / 434.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.331, allocations: 1.121 MB / 435.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.3319, allocations: 232.7 kB / 435.9 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/0.3322, allocations: 102.7 kB / 436 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3322, allocations: 2.25 kB / 436 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.3327, allocations: 178.7 kB / 436.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.3327, allocations: 0 / 436.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001097/0.3338, allocations: 311.5 kB / 436.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3338, allocations: 79.88 kB / 436.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.3341, allocations: 267.2 kB / 436.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3341, allocations: 29.94 kB / 436.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.3342, allocations: 197 kB / 437.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.3342, allocations: 44.38 kB / 437.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-05/0.3343, allocations: 55.77 kB / 437.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.3344, allocations: 337 kB / 437.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.3347, allocations: 100 kB / 437.6 MB, free: 5.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.3351, allocations: 189.3 kB / 437.8 MB, free: 5.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/0.3358, allocations: 303.8 kB / 438.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3358, allocations: 1.125 kB / 438.1 MB, free: 5.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009084/0.3367, allocations: 368.1 kB / 438.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.3368, allocations: 33.78 kB / 438.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3368, allocations: 3.906 kB / 438.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.3368, allocations: 4.188 kB / 438.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.3371, allocations: 68.38 kB / 438.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.3371, allocations: 4.469 kB / 438.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.3374, allocations: 53.3 kB / 438.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.3375, allocations: 12.8 kB / 438.6 MB, free: 5.438 MB / 350.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.0001203/0.3376, allocations: 151.4 kB / 438.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.3376, allocations: 21.52 kB / 438.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.3377, allocations: 25.77 kB / 438.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3377, allocations: 3.875 kB / 438.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3377, allocations: 0.625 kB / 438.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3377, allocations: 1.688 kB / 438.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.338, allocations: 313.7 kB / 439.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.338, allocations: 1.125 kB / 439.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.3382, allocations: 47.05 kB / 439.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3382, allocations: 1.812 kB / 439.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3383, allocations: 5.031 kB / 439.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3383, allocations: 1.625 kB / 439.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3383, allocations: 0 / 439.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3393, allocations: 377.6 kB / 439.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.3394, allocations: 100.9 kB / 439.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.3394, allocations: 4.188 kB / 439.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.3396, allocations: 30.67 kB / 439.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.3397, allocations: 15.92 kB / 439.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3397, allocations: 3.672 kB / 439.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.3399, allocations: 198.8 kB / 439.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3399, allocations: 0 / 439.9 MB, free: 4.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.3402, allocations: 67.11 kB / 440 MB, free: 4.734 MB / 350.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.0001131/0.3403, allocations: 104.1 kB / 440.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008251/0.3411, allocations: 292.5 kB / 440.3 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3411, allocations: 3.938 kB / 440.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.3415, allocations: 99.83 kB / 440.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.3418, allocations: 44.98 kB / 440.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3429, allocations: 0.5623 MB / 441 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.3431, allocations: 0.7505 MB / 441.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.94e-05/0.3432, allocations: 26.02 kB / 441.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3432, allocations: 4 kB / 441.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of Templates: time 0.006171/0.3494, allocations: 3.35 MB / 445.2 MB, free: 3.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.400736414012499]