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.001027/0.001027, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001143/0.001143, allocations: 165 kB / 24.99 MB, free: 8.801 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.044/1.044, allocations: 177 MB / 205.2 MB, free: 5.59 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 2.004e-06/2.004e-06, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.341e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003797/0.00383, allocations: 2.899 MB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.005102, allocations: 0.7127 MB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.005249, allocations: 4 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001746/0.005423, allocations: 51.5 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.005594, allocations: 115.1 kB / 276.8 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.005883, allocations: 99.75 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003823/0.006265, allocations: 394.3 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.006462, allocations: 87.64 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.0069, allocations: 239.4 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.007073, allocations: 123.7 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.007112, allocations: 43.94 kB / 277.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.563e-05/0.007147, allocations: 36 kB / 277.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.982e-05/0.007197, allocations: 83.73 kB / 277.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.889e-05/0.007296, allocations: 119.7 kB / 278 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.007577, allocations: 243.1 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.007582, allocations: 0 / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007583, allocations: 0 / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.007588, allocations: 0 / 278.2 MB, free: 12.47 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.0008544/0.008443, allocations: 0.6778 MB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.008487, allocations: 15.98 kB / 278.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.823e-05/0.008586, allocations: 56.7 kB / 279 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.008887, allocations: 240 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.008905, allocations: 16.88 kB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.008949, allocations: 28.38 kB / 279.3 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.009379, allocations: 252.7 kB / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.009388, allocations: 192 / 279.5 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.009418, allocations: 12.38 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.009429, allocations: 11.94 kB / 279.5 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.009603, allocations: 102.9 kB / 279.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.01083, allocations: 0.9123 MB / 280.6 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.01111, allocations: 119.1 kB / 280.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.01117, allocations: 43.7 kB / 280.7 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.01119, allocations: 4 kB / 280.7 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.01139, allocations: 179.4 kB / 280.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.01139, allocations: 0 / 280.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002951/0.01169, allocations: 148.7 kB / 281 MB, free: 9.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.01175, allocations: 106.8 kB / 281.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.01196, allocations: 300.2 kB / 281.4 MB, free: 9.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.01198, allocations: 33.7 kB / 281.5 MB, free: 8.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.0121, allocations: 246.8 kB / 281.7 MB, free: 8.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.01214, allocations: 47.62 kB / 281.8 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.01221, allocations: 59.55 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.01236, allocations: 0.504 MB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.643e-05/0.01245, allocations: 57.91 kB / 282.4 MB, free: 8.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.01259, allocations: 241.4 kB / 282.6 MB, free: 7.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.01296, allocations: 218.1 kB / 282.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.01296, allocations: 4 kB / 282.8 MB, free: 7.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002996/0.01326, allocations: 260.8 kB / 283.1 MB, free: 7.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.0133, allocations: 37.77 kB / 283.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.0133, allocations: 4 kB / 283.1 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01332, allocations: 4 kB / 283.1 MB, free: 7.141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.01346, allocations: 55.91 kB / 283.2 MB, free: 7.086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.01347, allocations: 4 kB / 283.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.0136, allocations: 39.81 kB / 283.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.01361, allocations: 15.94 kB / 283.2 MB, free: 7.027 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.0001011/0.01371, allocations: 180.5 kB / 283.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.01374, allocations: 31.8 kB / 283.4 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.01378, allocations: 25.77 kB / 283.5 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.01379, allocations: 8 kB / 283.5 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.01379, allocations: 0 / 283.5 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.0138, allocations: 0 / 283.5 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01398, allocations: 224.4 kB / 283.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01398, allocations: 0 / 283.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.01409, allocations: 27.98 kB / 283.7 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01409, allocations: 4 kB / 283.7 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.01411, allocations: 11.98 kB / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01411, allocations: 0 / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01411, allocations: 0 / 283.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.0144, allocations: 200.1 kB / 283.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.01443, allocations: 15.89 kB / 284 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.01447, allocations: 8 kB / 284 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.433e-05/0.01455, allocations: 15.98 kB / 284 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.01462, allocations: 23.95 kB / 284 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.01463, allocations: 4 kB / 284 MB, free: 6.195 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.01475, allocations: 209.2 kB / 284.2 MB, free: 5.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01475, allocations: 0 / 284.2 MB, free: 5.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.01497, allocations: 71.78 kB / 284.3 MB, free: 5.926 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.0001125/0.01508, allocations: 103.2 kB / 284.4 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.01533, allocations: 196.6 kB / 284.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01534, allocations: 0 / 284.6 MB, free: 5.598 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.01542, allocations: 52.22 kB / 284.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01566, allocations: 56.39 kB / 284.7 MB, free: 5.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.01671, allocations: 0.5201 MB / 285.2 MB, free: 4.938 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.01676, allocations: 84.31 kB / 285.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.46e-05/0.01684, allocations: 26.28 kB / 285.3 MB, free: 4.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.0169, allocations: 24.5 kB / 285.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0169, allocations: 0 / 285.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of Templates: time 0.005489/0.02239, allocations: 3.371 MB / 288.7 MB, free: 1.465 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.8157793418504298]