Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.001736/0.001736, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002395/0.002395, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 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.605/1.605, allocations: 230.3 MB / 258 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 178] 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.ShowVariableResistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|VariableResistor.i|R2.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2624, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004886/0.2673, allocations: 3.05 MB / 435.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.269, allocations: 0.7634 MB / 435.9 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001675/0.2691, allocations: 11.94 kB / 436 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001801/0.2693, allocations: 51.44 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2695, allocations: 107 kB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.2699, allocations: 99.86 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.2704, allocations: 414.2 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.2706, allocations: 75.58 kB / 436.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.271, allocations: 163.4 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/0.2712, allocations: 163.3 kB / 437 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.2713, allocations: 36 kB / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2714, allocations: 40 kB / 437.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.064e-05/0.2715, allocations: 71.7 kB / 437.2 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.2717, allocations: 179.1 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.2722, allocations: 396.1 kB / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2722, allocations: 0 / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2722, allocations: 0 / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.2723, allocations: 0 / 437.7 MB, free: 1.48 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.001298/0.2736, allocations: 0.5676 MB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.2736, allocations: 11.97 kB / 438.3 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/0.2739, allocations: 48.69 kB / 438.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.2744, allocations: 237.8 kB / 438.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.2744, allocations: 21.03 kB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.2744, allocations: 24.38 kB / 438.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.2751, allocations: 262.4 kB / 438.9 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2751, allocations: 0 / 438.9 MB, free: 268 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.2752, allocations: 16 kB / 438.9 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2752, allocations: 4 kB / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005387/0.2757, allocations: 218.5 kB / 439.1 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.2775, allocations: 0.9298 MB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.2781, allocations: 202.6 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2783, allocations: 96.8 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2784, allocations: 4 kB / 440.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2784, allocations: 42.5 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.2784, allocations: 0 / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001547/0.2799, allocations: 414.5 kB / 440.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.28, allocations: 55.41 kB / 440.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.2803, allocations: 261.9 kB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2804, allocations: 33.7 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.2805, allocations: 184.2 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-05/0.2806, allocations: 75.38 kB / 441.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.058e-05/0.2807, allocations: 45.89 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.2809, allocations: 338.8 kB / 441.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.2811, allocations: 76.42 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.2813, allocations: 103.5 kB / 441.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.2818, allocations: 195 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2818, allocations: 0 / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007264/0.2825, allocations: 322.9 kB / 442.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2825, allocations: 8 kB / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2825, allocations: 0 / 442.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.2829, allocations: 73.67 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.2831, allocations: 43.91 kB / 442.6 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/0.2864, allocations: 2.841 MB / 445.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.2866, allocations: 23.91 kB / 445.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2866, allocations: 16 kB / 445.4 MB, free: 9.293 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.0001997/0.2868, allocations: 141.8 kB / 445.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.2869, allocations: 31.75 kB / 445.6 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.287, allocations: 30.27 kB / 445.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.287, allocations: 0 / 445.6 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.287, allocations: 4 kB / 445.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.287, allocations: 0 / 445.6 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.2881, allocations: 0.6553 MB / 446.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2881, allocations: 0 / 446.3 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.2883, allocations: 31.91 kB / 446.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002216/0.2885, allocations: 77.67 kB / 446.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2885, allocations: 128 / 446.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/0.2923, allocations: 2.849 MB / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2923, allocations: 0 / 449.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/0.293, allocations: 380.5 kB / 449.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.2931, allocations: 31.75 kB / 449.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.2931, allocations: 0 / 449.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.2934, allocations: 35.97 kB / 449.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.467e-05/0.2935, allocations: 23.95 kB / 449.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2935, allocations: 4 kB / 449.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.2937, allocations: 189.2 kB / 449.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2937, allocations: 3.938 kB / 449.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004253/0.2941, allocations: 91.89 kB / 450 MB, free: 4.402 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.000143/0.2943, allocations: 115.1 kB / 450.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008654/0.2951, allocations: 425.1 kB / 450.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2951, allocations: 0 / 450.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.2957, allocations: 349.2 kB / 450.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.2961, allocations: 48.41 kB / 450.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2973, allocations: 0.4971 MB / 451.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.2979, allocations: 0.7639 MB / 452.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.298, allocations: 26.28 kB / 452.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.2981, allocations: 23.42 kB / 452.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2981, allocations: 0 / 452.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Templates: time 0.009519/0.3076, allocations: 3.902 MB / 456.1 MB, free: 14.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowVariableResistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowVariableResistor/ShowVariableResistor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.8384521789848804]