Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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: 107 kB / 21.18 MB, free: 0.6484 MB / 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.001457/0.001457, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2289, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004122/0.2331, allocations: 2.801 MB / 435.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.2343, allocations: 0.7206 MB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.2344, allocations: 7.938 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001659/0.2346, allocations: 63.42 kB / 435.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.2348, allocations: 103.1 kB / 436 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.2351, allocations: 95.8 kB / 436.1 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.2355, allocations: 418.2 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.2357, allocations: 78.53 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.236, allocations: 159.4 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.2362, allocations: 163.3 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.2362, allocations: 36 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.2363, allocations: 43.98 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.2364, allocations: 71.75 kB / 437.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2366, allocations: 147.3 kB / 437.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.237, allocations: 402.1 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.237, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.237, allocations: 0 / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.237, allocations: 4 kB / 437.6 MB, free: 1.398 MB / 334.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.001035/0.2381, allocations: 0.5598 MB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.2381, allocations: 12.03 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.2383, allocations: 44.7 kB / 438.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003851/0.2387, allocations: 237.8 kB / 438.5 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.2387, allocations: 17.03 kB / 438.5 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2387, allocations: 28.38 kB / 438.5 MB, free: 460 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.2394, allocations: 416.6 kB / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2394, allocations: 0 / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.2394, allocations: 12.08 kB / 438.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2394, allocations: 8 kB / 438.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.2399, allocations: 218.5 kB / 439.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.2416, allocations: 0.8249 MB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.2421, allocations: 205 kB / 440.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.2423, allocations: 96.81 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2423, allocations: 4 kB / 440.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2423, allocations: 30.56 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.442e-06/0.2423, allocations: 0 / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001244/0.2436, allocations: 415.2 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.2436, allocations: 59.34 kB / 440.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002612/0.2439, allocations: 237 kB / 441 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.2439, allocations: 29.7 kB / 441 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2441, allocations: 196.4 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.2441, allocations: 71.38 kB / 441.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-05/0.2442, allocations: 45.94 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2444, allocations: 334.8 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2446, allocations: 80.42 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.2448, allocations: 111.4 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.2452, allocations: 178.5 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2452, allocations: 4 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006955/0.2459, allocations: 318.9 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2459, allocations: 11.94 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2459, allocations: 0 / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002849/0.2462, allocations: 77.73 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.2464, allocations: 39.91 kB / 442.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.2489, allocations: 2.779 MB / 445.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.2491, allocations: 27.97 kB / 445.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2491, allocations: 8 kB / 445.3 MB, free: 9.266 MB / 350.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.0001432/0.2492, allocations: 138.1 kB / 445.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.2493, allocations: 23.86 kB / 445.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.2493, allocations: 34.2 kB / 445.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2493, allocations: 4 kB / 445.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2493, allocations: 0 / 445.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2493, allocations: 0 / 445.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2504, allocations: 0.5806 MB / 446.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2504, allocations: 0 / 446.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.2505, allocations: 27.97 kB / 446.1 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.2507, allocations: 89.67 kB / 446.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.2507, allocations: 8 kB / 446.2 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.2532, allocations: 2.772 MB / 448.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2532, allocations: 4.062 kB / 448.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.2539, allocations: 373.5 kB / 449.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.2539, allocations: 27.84 kB / 449.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.2539, allocations: 0 / 449.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.2542, allocations: 43.84 kB / 449.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.2543, allocations: 15.97 kB / 449.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.2543, allocations: 15.98 kB / 449.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.2544, allocations: 172.5 kB / 449.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2544, allocations: 0 / 449.6 MB, free: 4.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.2548, allocations: 99.78 kB / 449.7 MB, free: 4.574 MB / 350.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.0001324/0.255, allocations: 107.2 kB / 449.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007927/0.2558, allocations: 434.6 kB / 450.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2558, allocations: 0 / 450.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.2562, allocations: 341.3 kB / 450.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.2566, allocations: 36.48 kB / 450.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.2575, allocations: 0.5009 MB / 451.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2577, allocations: 155.5 kB / 451.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.2578, allocations: 25.94 kB / 451.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.2578, allocations: 15.44 kB / 451.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2578, allocations: 0 / 451.3 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Templates: time 0.008715/0.2666, allocations: 3.978 MB / 455.2 MB, free: 14.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.475662587006809]