Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001362/0.001362, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001466/0.001466, allocations: 168.9 kB / 25.69 MB, free: 8.453 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 1.009/1.009, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 3.938 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.31e-05, allocations: 2.312 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.007716/0.007739, allocations: 2.988 MB / 254.6 MB, free: 4.215 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.009702, allocations: 0.7407 MB / 255.3 MB, free: 3.465 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.009959, allocations: 7.938 kB / 255.3 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002131/0.01017, allocations: 51.5 kB / 255.4 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.01053, allocations: 115 kB / 255.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.01088, allocations: 87.81 kB / 255.6 MB, free: 3.207 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.01145, allocations: 429.8 kB / 256 MB, free: 2.785 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.01163, allocations: 78.27 kB / 256.1 MB, free: 2.707 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.01198, allocations: 231.5 kB / 256.3 MB, free: 2.48 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.01214, allocations: 115.7 kB / 256.4 MB, free: 2.367 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.01218, allocations: 36 kB / 256.4 MB, free: 2.332 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.561e-05/0.01222, allocations: 32 kB / 256.5 MB, free: 2.301 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.01227, allocations: 79.67 kB / 256.5 MB, free: 2.223 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.974e-05/0.01237, allocations: 127.7 kB / 256.7 MB, free: 2.098 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.01266, allocations: 271 kB / 256.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01267, allocations: 0 / 256.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.01267, allocations: 0 / 256.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.01267, allocations: 0 / 256.9 MB, free: 1.832 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006184/0.01329, allocations: 0.535 MB / 257.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.01333, allocations: 11.98 kB / 257.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.957e-05/0.0134, allocations: 48.89 kB / 257.5 MB, free: 1.211 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.01366, allocations: 185.2 kB / 257.7 MB, free: 1.004 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.01368, allocations: 21.03 kB / 257.7 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.01371, allocations: 36.38 kB / 257.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.01431, allocations: 345.5 kB / 258.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01432, allocations: 192 / 258.1 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.01433, allocations: 12.38 kB / 258.1 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.01434, allocations: 11.94 kB / 258.1 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.01443, allocations: 68.5 kB / 258.2 MB, free: 488 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.01532, allocations: 0.6543 MB / 258.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.01554, allocations: 146.9 kB / 259 MB, free: 15.64 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.0156, allocations: 48.78 kB / 259 MB, free: 15.59 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.01562, allocations: 4 kB / 259 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.01564, allocations: 38.55 kB / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.276e-06/0.01564, allocations: 0 / 259.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004922/0.01613, allocations: 259.5 kB / 259.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.01617, allocations: 55.41 kB / 259.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.01633, allocations: 225 kB / 259.6 MB, free: 14.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.01634, allocations: 25.7 kB / 259.6 MB, free: 14.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.01642, allocations: 176.4 kB / 259.8 MB, free: 14.76 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.01646, allocations: 75.33 kB / 259.9 MB, free: 14.69 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.01651, allocations: 45.92 kB / 259.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.01661, allocations: 334.8 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.751e-05/0.01664, allocations: 28.45 kB / 260.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.01669, allocations: 47.48 kB / 260.3 MB, free: 14.22 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.0168, allocations: 98.31 kB / 260.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.0168, allocations: 0 / 260.4 MB, free: 14.11 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002254/0.01702, allocations: 179 kB / 260.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01704, allocations: 7.938 kB / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01705, allocations: 8.062 kB / 260.6 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.01729, allocations: 77.66 kB / 260.7 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.0174, allocations: 43.91 kB / 260.7 MB, free: 13.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.01878, allocations: 2.494 MB / 263.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.01888, allocations: 27.89 kB / 263.2 MB, free: 11.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.01889, allocations: 4 kB / 263.3 MB, free: 11.09 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.01901, allocations: 125.8 kB / 263.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.01905, allocations: 19.98 kB / 263.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.01908, allocations: 34.2 kB / 263.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01908, allocations: 4 kB / 263.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.01909, allocations: 0 / 263.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.0191, allocations: 3.984 kB / 263.4 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.01959, allocations: 396.5 kB / 263.8 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.01959, allocations: 0 / 263.8 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.01966, allocations: 27.92 kB / 263.8 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/0.01983, allocations: 89.7 kB / 263.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.01984, allocations: 4 kB / 263.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.02127, allocations: 2.482 MB / 266.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02127, allocations: 0 / 266.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.02147, allocations: 261.5 kB / 266.7 MB, free: 7.41 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.02149, allocations: 19.86 kB / 266.7 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.02151, allocations: 7.938 kB / 266.7 MB, free: 7.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.02161, allocations: 36 kB / 266.7 MB, free: 7.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.02167, allocations: 19.97 kB / 266.8 MB, free: 7.328 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.02168, allocations: 4 kB / 266.8 MB, free: 7.324 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.02174, allocations: 74.78 kB / 266.8 MB, free: 7.246 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02174, allocations: 0 / 266.8 MB, free: 7.246 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000261/0.022, allocations: 99.78 kB / 266.9 MB, free: 7.148 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001049/0.0221, allocations: 88.41 kB / 267 MB, free: 7.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.02243, allocations: 352.6 kB / 267.4 MB, free: 6.684 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.02243, allocations: 4 kB / 267.4 MB, free: 6.68 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.0226, allocations: 305.9 kB / 267.7 MB, free: 6.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.02281, allocations: 40.73 kB / 267.7 MB, free: 6.312 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007736/0.02358, allocations: 485.7 kB / 268.2 MB, free: 5.812 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.02364, allocations: 88.31 kB / 268.3 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.959e-05/0.02371, allocations: 25.92 kB / 268.3 MB, free: 5.68 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.02383, allocations: 103.3 kB / 268.4 MB, free: 5.578 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.02383, allocations: 0 / 268.4 MB, free: 5.578 MB / 250.7 MB Notification: Performance of Templates: time 0.006199/0.03003, allocations: 3.73 MB / 272.1 MB, free: 1.879 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.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.792569713201374]