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.001327/0.001327, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001558/0.001558, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 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.04/1.04, allocations: 177 MB / 205.2 MB, free: 5.039 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.693e-06/1.693e-06, allocations: 0 / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.425e-05, allocations: 5.266 kB / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003895/0.003919, allocations: 2.861 MB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.005372, allocations: 0.7282 MB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.005547, allocations: 7.938 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.005714, allocations: 47.56 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002495/0.005964, allocations: 115.1 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.006211, allocations: 91.77 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.006532, allocations: 398.3 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.00668, allocations: 94.27 kB / 277.8 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003239/0.007004, allocations: 235.4 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.007163, allocations: 131.6 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.007203, allocations: 40 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.36e-05/0.007236, allocations: 40 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.007286, allocations: 83.67 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.007373, allocations: 119.7 kB / 278.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.0076, allocations: 243.1 kB / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007602, allocations: 0 / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007603, allocations: 0 / 278.6 MB, free: 11.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.007607, allocations: 0 / 278.6 MB, free: 11.78 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.000648/0.008255, allocations: 0.5531 MB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.008286, allocations: 11.98 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.00835, allocations: 48.89 kB / 279.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.008565, allocations: 185.2 kB / 279.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.008582, allocations: 20.88 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.008617, allocations: 24.38 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.008866, allocations: 248.7 kB / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.008875, allocations: 192 / 279.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.008893, allocations: 12.38 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.0089, allocations: 11.88 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.955e-05/0.008989, allocations: 63.47 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.009806, allocations: 0.7354 MB / 280.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.00999, allocations: 90.47 kB / 280.6 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.01003, allocations: 36.84 kB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.01004, allocations: 0 / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.01019, allocations: 173.2 kB / 280.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 8.91e-07/0.01019, allocations: 0 / 280.8 MB, free: 9.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001652/0.01036, allocations: 100.6 kB / 280.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.0104, allocations: 110.8 kB / 281 MB, free: 9.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.01054, allocations: 236.9 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.01056, allocations: 29.7 kB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.01064, allocations: 184 kB / 281.5 MB, free: 8.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.01067, allocations: 47.58 kB / 281.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.01073, allocations: 57.84 kB / 281.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.01081, allocations: 330.8 kB / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.01086, allocations: 53.92 kB / 281.9 MB, free: 8.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.01097, allocations: 196.6 kB / 282.1 MB, free: 7.961 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.01109, allocations: 163 kB / 282.3 MB, free: 7.762 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.01109, allocations: 3.938 kB / 282.3 MB, free: 7.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001861/0.01128, allocations: 220 kB / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.01131, allocations: 33.7 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.01131, allocations: 4 kB / 282.6 MB, free: 7.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.01133, allocations: 4 kB / 282.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.01145, allocations: 55.91 kB / 282.6 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01146, allocations: 4 kB / 282.6 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01157, allocations: 48.02 kB / 282.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.01158, allocations: 12 kB / 282.7 MB, free: 7.363 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 7.915e-05/0.01166, allocations: 121.8 kB / 282.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01168, allocations: 23.92 kB / 282.8 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.01171, allocations: 25.77 kB / 282.8 MB, free: 7.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01172, allocations: 4 kB / 282.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01172, allocations: 0 / 282.8 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01172, allocations: 3.984 kB / 282.9 MB, free: 7.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.01185, allocations: 149.7 kB / 283 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01185, allocations: 0 / 283 MB, free: 7.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.01194, allocations: 35.98 kB / 283 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.01194, allocations: 3.938 kB / 283 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01195, allocations: 3.984 kB / 283 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01195, allocations: 0 / 283 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.01196, allocations: 4 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.01212, allocations: 137 kB / 283.2 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.01215, allocations: 23.73 kB / 283.2 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.01217, allocations: 8 kB / 283.2 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.01224, allocations: 23.97 kB / 283.2 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.01228, allocations: 24 kB / 283.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.01229, allocations: 4 kB / 283.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.01235, allocations: 74.78 kB / 283.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01235, allocations: 0 / 283.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.01252, allocations: 71.84 kB / 283.4 MB, free: 6.582 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 9.715e-05/0.01261, allocations: 100.2 kB / 283.5 MB, free: 6.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01279, allocations: 174.3 kB / 283.7 MB, free: 6.289 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.0128, allocations: 8.062 kB / 283.7 MB, free: 6.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.846e-05/0.01286, allocations: 47.45 kB / 283.7 MB, free: 6.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.01301, allocations: 52.33 kB / 283.8 MB, free: 6.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008424/0.01385, allocations: 0.512 MB / 284.3 MB, free: 5.641 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.01389, allocations: 80.33 kB / 284.4 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.624e-05/0.01397, allocations: 30.27 kB / 284.4 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.01409, allocations: 103.3 kB / 284.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01409, allocations: 0 / 284.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of Templates: time 0.005067/0.01916, allocations: 3.499 MB / 288 MB, free: 1.98 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.7826547538861632]