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.001516/0.001516, allocations: 85.39 kB / 21.44 MB, free: 296 kB / 14.72 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.001697/0.001697, allocations: 163.9 kB / 24.7 MB, free: 3.551 MB / 14.72 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.393/1.393, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.743e-06/1.743e-06, allocations: 0 / 298.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.214e-05/3.388e-05, allocations: 2.281 kB / 299 MB, free: 8.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004466/0.0045, allocations: 2.734 MB / 301.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.005864, allocations: 0.7059 MB / 302.4 MB, free: 5.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.006087, allocations: 7.938 kB / 302.4 MB, free: 5.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.006288, allocations: 51.44 kB / 302.4 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.006569, allocations: 115 kB / 302.6 MB, free: 5.086 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003059/0.006875, allocations: 87.86 kB / 302.6 MB, free: 5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.007406, allocations: 426 kB / 303.1 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.007598, allocations: 75.56 kB / 303.1 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000413/0.008011, allocations: 227.5 kB / 303.4 MB, free: 4.289 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.008245, allocations: 127.6 kB / 303.5 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.051e-05/0.008315, allocations: 32 kB / 303.5 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.008381, allocations: 36 kB / 303.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.008459, allocations: 67.75 kB / 303.6 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.008635, allocations: 123.7 kB / 303.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.009138, allocations: 402.7 kB / 304.1 MB, free: 3.516 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.009145, allocations: 3.984 kB / 304.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.009146, allocations: 0 / 304.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.009159, allocations: 3.938 kB / 304.1 MB, free: 3.508 MB / 286.1 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.001089/0.01025, allocations: 0.5637 MB / 304.7 MB, free: 2.914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.01029, allocations: 11.98 kB / 304.7 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.01039, allocations: 40.7 kB / 304.8 MB, free: 2.863 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.0108, allocations: 221.1 kB / 305 MB, free: 2.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.01083, allocations: 25.03 kB / 305 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.01087, allocations: 28.38 kB / 305 MB, free: 2.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.01152, allocations: 408.9 kB / 305.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01153, allocations: 192 / 305.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.01157, allocations: 16.38 kB / 305.4 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.01158, allocations: 7.938 kB / 305.4 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.01209, allocations: 218.4 kB / 305.7 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.01372, allocations: 0.8101 MB / 306.5 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.01424, allocations: 202.6 kB / 306.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.01447, allocations: 96.81 kB / 306.8 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.01449, allocations: 8 kB / 306.8 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.01453, allocations: 42.5 kB / 306.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.01453, allocations: 0 / 306.8 MB, free: 0.668 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001291/0.01582, allocations: 407.7 kB / 307.2 MB, free: 264 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.01587, allocations: 55.41 kB / 307.3 MB, free: 196 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.01615, allocations: 245.7 kB / 307.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.01618, allocations: 25.7 kB / 307.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01633, allocations: 192.5 kB / 307.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.01639, allocations: 71.34 kB / 307.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-05/0.01648, allocations: 45.94 kB / 307.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.01664, allocations: 338.8 kB / 308.2 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.01685, allocations: 76.42 kB / 308.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.01708, allocations: 111.5 kB / 308.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.0175, allocations: 186.4 kB / 308.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.0175, allocations: 0 / 308.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006751/0.01818, allocations: 315 kB / 308.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01819, allocations: 4 kB / 308.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.0182, allocations: 4 kB / 308.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003005/0.0185, allocations: 81.55 kB / 308.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.0187, allocations: 39.95 kB / 309 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.02135, allocations: 2.772 MB / 311.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.02156, allocations: 31.77 kB / 311.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.02158, allocations: 4 kB / 311.8 MB, free: 11.41 MB / 302.1 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.0001693/0.02175, allocations: 142.3 kB / 311.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.02181, allocations: 27.86 kB / 311.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.274e-05/0.02186, allocations: 34.2 kB / 312 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.02186, allocations: 0 / 312 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.02187, allocations: 4 kB / 312 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.02187, allocations: 3.938 kB / 312 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.02293, allocations: 0.5741 MB / 312.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.02293, allocations: 8 kB / 312.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.02307, allocations: 31.91 kB / 312.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.0233, allocations: 69.67 kB / 312.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.02332, allocations: 4 kB / 312.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.02591, allocations: 2.775 MB / 315.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02591, allocations: 0 / 315.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006887/0.0266, allocations: 381.6 kB / 315.8 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/0.02666, allocations: 23.8 kB / 315.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.0267, allocations: 8 kB / 315.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.02696, allocations: 27.97 kB / 315.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.122e-05/0.02704, allocations: 31.83 kB / 315.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.02706, allocations: 8 kB / 315.9 MB, free: 6.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.02725, allocations: 173.2 kB / 316.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02725, allocations: 4 kB / 316.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.02765, allocations: 95.78 kB / 316.2 MB, free: 6.719 MB / 302.1 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.0001491/0.0278, allocations: 107.2 kB / 316.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008502/0.02865, allocations: 441.1 kB / 316.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02865, allocations: 0 / 316.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.02913, allocations: 337.2 kB / 317 MB, free: 5.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.0295, allocations: 48.72 kB / 317.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.03047, allocations: 479.8 kB / 317.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.03064, allocations: 163.2 kB / 317.7 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.33e-05/0.03074, allocations: 25.88 kB / 317.7 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.03079, allocations: 24.44 kB / 317.8 MB, free: 5.02 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.03079, allocations: 3.938 kB / 317.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of Templates: time 0.008391/0.03918, allocations: 3.513 MB / 321.3 MB, free: 1.504 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ShowVariableResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.336502477526665]