Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009983/0.0009983, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.046/1.046, allocations: 177 MB / 204.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.867e-05, allocations: 5.266 kB / 273 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002797/0.002816, allocations: 2.912 MB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.003917, allocations: 0.7128 MB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.00405, allocations: 4 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.004191, allocations: 51.44 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.004352, allocations: 107.1 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.004608, allocations: 91.77 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.004962, allocations: 406.3 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.005137, allocations: 83.67 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.005461, allocations: 231.5 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.005625, allocations: 135.6 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.005666, allocations: 39.94 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.827e-05/0.005704, allocations: 40 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.005755, allocations: 79.67 kB / 277.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.485e-05/0.00585, allocations: 119.7 kB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.006102, allocations: 251.1 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.006104, allocations: 0 / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.006105, allocations: 0 / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.00611, allocations: 0 / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0007633/0.006874, allocations: 0.6623 MB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.006911, allocations: 15.97 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.225e-05/0.007003, allocations: 56.7 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.007271, allocations: 240 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.00729, allocations: 20.88 kB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.007332, allocations: 24.38 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.007665, allocations: 268.6 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.007675, allocations: 192 / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.007695, allocations: 8.375 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.007707, allocations: 11.94 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.007867, allocations: 94.94 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009771/0.008844, allocations: 0.9162 MB / 280.5 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.009092, allocations: 119.1 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.00915, allocations: 39.67 kB / 280.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.00917, allocations: 4 kB / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.009344, allocations: 179.5 kB / 280.8 MB, free: 9.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.009345, allocations: 7.938 kB / 280.8 MB, free: 9.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002785/0.009624, allocations: 156.4 kB / 281 MB, free: 9.152 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.009678, allocations: 106.8 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.009861, allocations: 296.2 kB / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.009877, allocations: 25.7 kB / 281.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.009977, allocations: 250.8 kB / 281.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.01001, allocations: 43.64 kB / 281.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.01007, allocations: 59.55 kB / 281.7 MB, free: 8.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.01018, allocations: 0.5001 MB / 282.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-05/0.01025, allocations: 61.91 kB / 282.3 MB, free: 7.746 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.01039, allocations: 237.4 kB / 282.5 MB, free: 7.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.01057, allocations: 214.7 kB / 282.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01057, allocations: 0 / 282.7 MB, free: 7.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002483/0.01082, allocations: 271.2 kB / 283 MB, free: 6.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.01085, allocations: 33.7 kB / 283 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01085, allocations: 4 kB / 283 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.01087, allocations: 4 kB / 283.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.011, allocations: 59.89 kB / 283.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.011, allocations: 4.312 kB / 283.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01112, allocations: 43.83 kB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01113, allocations: 8 kB / 283.2 MB, free: 6.742 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001004/0.01123, allocations: 176.5 kB / 283.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.01126, allocations: 23.86 kB / 283.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.546e-05/0.01129, allocations: 29.77 kB / 283.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.0113, allocations: 7.922 kB / 283.4 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.0113, allocations: 7.938 kB / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01131, allocations: 3.984 kB / 283.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.01148, allocations: 232.4 kB / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01149, allocations: 0 / 283.6 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.01158, allocations: 35.97 kB / 283.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.01158, allocations: 0 / 283.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.0116, allocations: 4 kB / 283.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.0116, allocations: 0 / 283.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.0116, allocations: 0 / 283.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.01184, allocations: 200.1 kB / 283.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.01186, allocations: 19.91 kB / 283.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.01189, allocations: 0 / 283.9 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.523e-05/0.01196, allocations: 28 kB / 283.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.01203, allocations: 19.97 kB / 283.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.01204, allocations: 0 / 283.9 MB, free: 5.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.01215, allocations: 209.1 kB / 284.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01215, allocations: 0 / 284.1 MB, free: 5.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01236, allocations: 79.78 kB / 284.2 MB, free: 5.625 MB / 266.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.0001044/0.01246, allocations: 95.25 kB / 284.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002336/0.01269, allocations: 196.6 kB / 284.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.0127, allocations: 0 / 284.5 MB, free: 5.305 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.251e-05/0.01277, allocations: 58.83 kB / 284.6 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.01299, allocations: 52.33 kB / 284.6 MB, free: 5.191 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009962/0.01399, allocations: 0.5181 MB / 285.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.404e-05/0.01404, allocations: 80.33 kB / 285.2 MB, free: 4.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.524e-05/0.01411, allocations: 30.28 kB / 285.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.01417, allocations: 24.5 kB / 285.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01417, allocations: 0 / 285.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of Templates: time 0.005519/0.01969, allocations: 3.556 MB / 288.8 MB, free: 0.9844 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7249423409812152]