Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009327/0.0009327, allocations: 166.6 kB / 25.33 MB, free: 9.035 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9419/0.9419, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.111e-05, allocations: 2.312 kB / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002961/0.002992, allocations: 2.61 MB / 253.7 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009977/0.00399, allocations: 0.6942 MB / 254.4 MB, free: 256 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.004105, allocations: 7.938 kB / 254.4 MB, free: 248 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.004238, allocations: 35.64 kB / 254.4 MB, free: 212 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.004384, allocations: 95.2 kB / 254.5 MB, free: 116 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.004673, allocations: 91.81 kB / 254.6 MB, free: 24 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.004995, allocations: 334.5 kB / 254.9 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.005159, allocations: 56.77 kB / 255 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.005395, allocations: 187.5 kB / 255.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.005529, allocations: 115.6 kB / 255.3 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.00557, allocations: 28 kB / 255.3 MB, free: 15.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.005607, allocations: 32 kB / 255.3 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.013e-05/0.005657, allocations: 59.75 kB / 255.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.005746, allocations: 95.75 kB / 255.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.005991, allocations: 199.3 kB / 255.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.005995, allocations: 0 / 255.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.005996, allocations: 0 / 255.7 MB, free: 14.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.006002, allocations: 4 kB / 255.7 MB, free: 14.93 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008557/0.006858, allocations: 0.623 MB / 256.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.006901, allocations: 11.98 kB / 256.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.006989, allocations: 44.8 kB / 256.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.00729, allocations: 208.1 kB / 256.6 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.007309, allocations: 16.69 kB / 256.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.106e-05/0.007361, allocations: 20.38 kB / 256.6 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.007698, allocations: 211.5 kB / 256.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.007707, allocations: 192 / 256.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.007726, allocations: 4.375 kB / 256.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.007735, allocations: 7.938 kB / 256.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.007879, allocations: 87.45 kB / 256.9 MB, free: 13.62 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.00887, allocations: 0.7127 MB / 257.6 MB, free: 12.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.009176, allocations: 123.1 kB / 257.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.066e-05/0.009236, allocations: 35.66 kB / 257.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.009259, allocations: 4 kB / 257.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.00944, allocations: 152.3 kB / 257.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.009441, allocations: 0 / 257.9 MB, free: 12.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002973/0.009738, allocations: 137.5 kB / 258.1 MB, free: 12.37 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.009795, allocations: 85.09 kB / 258.2 MB, free: 12.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.009973, allocations: 271.2 kB / 258.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.009994, allocations: 33.7 kB / 258.5 MB, free: 11.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.237e-05/0.01009, allocations: 214.8 kB / 258.7 MB, free: 11.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.01012, allocations: 47.62 kB / 258.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.01018, allocations: 47.36 kB / 258.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.01033, allocations: 0.4962 MB / 259.3 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.01042, allocations: 61.38 kB / 259.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01055, allocations: 164.9 kB / 259.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.0107, allocations: 166.1 kB / 259.6 MB, free: 10.65 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.01071, allocations: 4 kB / 259.6 MB, free: 10.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002567/0.01096, allocations: 228.6 kB / 259.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.011, allocations: 33.7 kB / 259.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.011, allocations: 4.125 kB / 259.9 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.01102, allocations: 8 kB / 259.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001453/0.01117, allocations: 55.95 kB / 260 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.01118, allocations: 3.938 kB / 260 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.01128, allocations: 31.88 kB / 260 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.01129, allocations: 8 kB / 260 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000383/0.01168, allocations: 184.6 kB / 260.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.333e-05/0.01177, allocations: 156.9 kB / 260.3 MB, free: 9.863 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001139/0.01189, allocations: 158.3 kB / 260.5 MB, free: 9.676 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.41e-07/0.01189, allocations: 0 / 260.5 MB, free: 9.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000204/0.01209, allocations: 228.6 kB / 260.7 MB, free: 9.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.01211, allocations: 37.83 kB / 260.8 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.01211, allocations: 4 kB / 260.8 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.01212, allocations: 7.938 kB / 260.8 MB, free: 9.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.01221, allocations: 51.91 kB / 260.8 MB, free: 9.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.01222, allocations: 4 kB / 260.8 MB, free: 9.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.0123, allocations: 27.88 kB / 260.8 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.01231, allocations: 8 kB / 260.9 MB, free: 9.289 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (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 (22): * Single equations (assignments): 21 * 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.0001056/0.01242, allocations: 280 kB / 261.1 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.01244, allocations: 27.84 kB / 261.2 MB, free: 8.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.01248, allocations: 29.45 kB / 261.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01249, allocations: 0 / 261.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01249, allocations: 0 / 261.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01249, allocations: 0 / 261.2 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.01264, allocations: 208.4 kB / 261.4 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01264, allocations: 0 / 261.4 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.01274, allocations: 27.98 kB / 261.4 MB, free: 8.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01274, allocations: 7.984 kB / 261.4 MB, free: 8.672 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.01275, allocations: 7.938 kB / 261.4 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01275, allocations: 0 / 261.4 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01275, allocations: 4 kB / 261.4 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.01299, allocations: 190.6 kB / 261.6 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.46e-05/0.01302, allocations: 19.89 kB / 261.6 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.01304, allocations: 3.938 kB / 261.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.01311, allocations: 19.98 kB / 261.7 MB, free: 8.41 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/0.01316, allocations: 15.97 kB / 261.7 MB, free: 8.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.01317, allocations: 4 kB / 261.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.358e-05/0.01326, allocations: 199 kB / 261.9 MB, free: 8.195 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01326, allocations: 0 / 261.9 MB, free: 8.195 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.01351, allocations: 107.8 kB / 262 MB, free: 8.09 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.113e-05/0.0136, allocations: 99.23 kB / 262.1 MB, free: 7.984 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.01392, allocations: 325.9 kB / 262.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01392, allocations: 0 / 262.4 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.036e-05/0.01399, allocations: 55.59 kB / 262.5 MB, free: 7.562 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01421, allocations: 49.38 kB / 262.5 MB, free: 7.516 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.01503, allocations: 433.7 kB / 262.9 MB, free: 7.062 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.32e-05/0.01508, allocations: 76.27 kB / 263 MB, free: 6.969 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.157e-05/0.01515, allocations: 29.94 kB / 263 MB, free: 6.941 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.01521, allocations: 20.5 kB / 263 MB, free: 6.922 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01521, allocations: 0 / 263 MB, free: 6.922 MB / 250.7 MB Notification: Performance of Templates: time 0.005186/0.02039, allocations: 3.147 MB / 266.2 MB, free: 3.793 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.907457966823131]