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.0009355/0.0009355, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001378/0.001378, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9821/0.9821, allocations: 177 MB / 204.8 MB, free: 5.562 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.533e-06/1.533e-06, allocations: 0 / 272.9 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.38e-05, allocations: 5.266 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003224/0.003247, allocations: 2.9 MB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.004291, allocations: 0.7166 MB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.004417, allocations: 7.938 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.004563, allocations: 39.58 kB / 276.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.004721, allocations: 115 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.004948, allocations: 91.83 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.00529, allocations: 402.3 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.005491, allocations: 87.66 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.005856, allocations: 239.4 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.006039, allocations: 131.6 kB / 277.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.006089, allocations: 40 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.006131, allocations: 36 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.006182, allocations: 71.75 kB / 277.8 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.006288, allocations: 123.7 kB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.006593, allocations: 251.1 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.006596, allocations: 0 / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006598, allocations: 4 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.006604, allocations: 0 / 278.2 MB, free: 12.14 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.0008877/0.007492, allocations: 0.6661 MB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.007537, allocations: 11.98 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.994e-05/0.007637, allocations: 64.69 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.008021, allocations: 240 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.00805, allocations: 16.88 kB / 279.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.008112, allocations: 28.38 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/0.008498, allocations: 256.7 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.008509, allocations: 4.172 kB / 279.4 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.008532, allocations: 12.38 kB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.008542, allocations: 7.938 kB / 279.5 MB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.008709, allocations: 98.94 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.009755, allocations: 0.9162 MB / 280.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.01003, allocations: 119 kB / 280.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/0.0101, allocations: 39.67 kB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.01012, allocations: 8 kB / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.01031, allocations: 179.4 kB / 280.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.01031, allocations: 3.984 kB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002814/0.01059, allocations: 152.4 kB / 281 MB, free: 9.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.01064, allocations: 110.8 kB / 281.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.01083, allocations: 296.2 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.01085, allocations: 29.7 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.01096, allocations: 246.8 kB / 281.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.01099, allocations: 47.64 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.7e-05/0.01106, allocations: 59.53 kB / 281.7 MB, free: 8.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.0112, allocations: 0.5001 MB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.01129, allocations: 65.91 kB / 282.3 MB, free: 7.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.01143, allocations: 237.4 kB / 282.5 MB, free: 7.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.01162, allocations: 219.3 kB / 282.8 MB, free: 7.133 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01163, allocations: 4 kB / 282.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002717/0.0119, allocations: 266.1 kB / 283 MB, free: 6.855 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.01193, allocations: 29.7 kB / 283 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01193, allocations: 4 kB / 283.1 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.01195, allocations: 4.312 kB / 283.1 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.0121, allocations: 63.91 kB / 283.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.01211, allocations: 7.984 kB / 283.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01225, allocations: 35.83 kB / 283.2 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.01226, allocations: 8 kB / 283.2 MB, free: 6.699 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.0001101/0.01237, allocations: 176.5 kB / 283.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.0124, allocations: 27.86 kB / 283.4 MB, free: 6.488 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.01245, allocations: 25.77 kB / 283.4 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01245, allocations: 8 kB / 283.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01245, allocations: 0 / 283.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01246, allocations: 4 kB / 283.4 MB, free: 6.453 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.01263, allocations: 228.3 kB / 283.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01263, allocations: 0 / 283.6 MB, free: 6.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.01273, allocations: 35.91 kB / 283.7 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.01274, allocations: 4 kB / 283.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01275, allocations: 4 kB / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01275, allocations: 0 / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01275, allocations: 0 / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.01302, allocations: 204.1 kB / 283.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.01305, allocations: 15.91 kB / 283.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.01307, allocations: 4 kB / 283.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.01315, allocations: 23.97 kB / 283.9 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.01321, allocations: 19.91 kB / 283.9 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01322, allocations: 4 kB / 283.9 MB, free: 5.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.01333, allocations: 209.1 kB / 284.1 MB, free: 5.664 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 0 / 284.1 MB, free: 5.664 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.01353, allocations: 75.78 kB / 284.2 MB, free: 5.59 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.0001037/0.01363, allocations: 99.28 kB / 284.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.01388, allocations: 196.6 kB / 284.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01388, allocations: 0 / 284.5 MB, free: 5.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.401e-05/0.01395, allocations: 58.77 kB / 284.6 MB, free: 5.207 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.01423, allocations: 53.03 kB / 284.6 MB, free: 5.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.01526, allocations: 0.5097 MB / 285.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.749e-05/0.01531, allocations: 84.31 kB / 285.2 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.63e-05/0.01539, allocations: 26.28 kB / 285.2 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.01545, allocations: 32.5 kB / 285.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.01545, allocations: 0 / 285.3 MB, free: 4.457 MB / 266.7 MB Notification: Performance of Templates: time 0.005239/0.02069, allocations: 3.367 MB / 288.6 MB, free: 1.137 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.8801947156898677]