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.001006/0.001006, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001133/0.001133, allocations: 166.2 kB / 25.61 MB, free: 8.578 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.013/1.013, allocations: 177 MB / 205.9 MB, free: 4.438 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.232e-06/1.232e-06, allocations: 0 / 274.2 MB, free: 4.336 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.209e-05, allocations: 2.312 kB / 274.2 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003187/0.003199, allocations: 2.86 MB / 277 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009931/0.004193, allocations: 0.6998 MB / 277.7 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.004328, allocations: 7.938 kB / 277.7 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.004469, allocations: 49.97 kB / 277.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.004643, allocations: 111.1 kB / 277.9 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.004864, allocations: 97.86 kB / 278 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.005201, allocations: 398.3 kB / 278.4 MB, free: 116 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.00537, allocations: 87.61 kB / 278.5 MB, free: 24 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.005931, allocations: 235.4 kB / 278.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.006101, allocations: 131.6 kB / 278.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.006145, allocations: 40.66 kB / 278.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-05/0.006188, allocations: 36 kB / 278.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.006249, allocations: 83.69 kB / 279 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.006356, allocations: 123.7 kB / 279.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.006615, allocations: 247.1 kB / 279.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.006617, allocations: 0 / 279.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006618, allocations: 0 / 279.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.006622, allocations: 0 / 279.3 MB, free: 15.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.0007555/0.007377, allocations: 0.6739 MB / 280 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.007407, allocations: 8.031 kB / 280 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.834e-05/0.007485, allocations: 56.75 kB / 280.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.007731, allocations: 228.1 kB / 280.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.007753, allocations: 20.88 kB / 280.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.007792, allocations: 28.31 kB / 280.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.008093, allocations: 244.6 kB / 280.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.008102, allocations: 192 / 280.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.008126, allocations: 12.38 kB / 280.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.008135, allocations: 11.94 kB / 280.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.008274, allocations: 79.42 kB / 280.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.009552, allocations: 0.9162 MB / 281.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.00977, allocations: 115 kB / 281.7 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.012e-05/0.00982, allocations: 31.61 kB / 281.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.009836, allocations: 4 kB / 281.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.01, allocations: 181.8 kB / 281.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.01, allocations: 0 / 281.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002398/0.01024, allocations: 133.4 kB / 282.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.01029, allocations: 106.8 kB / 282.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.01047, allocations: 296.1 kB / 282.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01049, allocations: 29.7 kB / 282.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.01061, allocations: 258.7 kB / 282.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.01065, allocations: 43.62 kB / 282.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.01072, allocations: 59.58 kB / 282.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01085, allocations: 0.504 MB / 283.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.01091, allocations: 49.92 kB / 283.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.01105, allocations: 233.5 kB / 283.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.01122, allocations: 207.8 kB / 283.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01122, allocations: 0 / 283.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002697/0.01149, allocations: 248.9 kB / 284.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.01152, allocations: 37.73 kB / 284.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.01152, allocations: 0 / 284.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.01153, allocations: 4 kB / 284.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.0117, allocations: 59.91 kB / 284.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.0117, allocations: 7.984 kB / 284.2 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.01185, allocations: 43.77 kB / 284.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.01187, allocations: 8 kB / 284.2 MB, free: 9.812 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 9.965e-05/0.01197, allocations: 183 kB / 284.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.012, allocations: 23.86 kB / 284.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/0.01204, allocations: 29.77 kB / 284.4 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01204, allocations: 3.938 kB / 284.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.01204, allocations: 0 / 284.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.01205, allocations: 7.984 kB / 284.5 MB, free: 9.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.01219, allocations: 173.1 kB / 284.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01219, allocations: 0 / 284.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.0123, allocations: 43.84 kB / 284.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.0123, allocations: 4 kB / 284.7 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.01231, allocations: 4 kB / 284.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.01232, allocations: 0 / 284.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01232, allocations: 0 / 284.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.01255, allocations: 182.6 kB / 284.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.091e-05/0.01258, allocations: 27.73 kB / 284.9 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.01261, allocations: 4 kB / 284.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.01271, allocations: 23.97 kB / 284.9 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.01276, allocations: 15.97 kB / 284.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01277, allocations: 4 kB / 284.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.999e-05/0.01287, allocations: 193.1 kB / 285.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01287, allocations: 4 kB / 285.1 MB, free: 8.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.01313, allocations: 71.84 kB / 285.2 MB, free: 8.781 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 7.943e-05/0.01321, allocations: 103.2 kB / 285.3 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.01342, allocations: 197.3 kB / 285.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.01342, allocations: 0 / 285.5 MB, free: 8.453 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.01349, allocations: 44.23 kB / 285.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01372, allocations: 51.22 kB / 285.6 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.01468, allocations: 0.5135 MB / 286.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.834e-05/0.01473, allocations: 80.31 kB / 286.2 MB, free: 7.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.849e-05/0.01482, allocations: 30.28 kB / 286.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.01497, allocations: 126.2 kB / 286.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01497, allocations: 0 / 286.3 MB, free: 7.566 MB / 266.7 MB Notification: Performance of Templates: time 0.006645/0.02162, allocations: 3.719 MB / 290 MB, free: 3.926 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.8118620472960174]