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.00166/0.00166, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002168/0.002168, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.503/1.503, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.002012/0.002012, allocations: 59.91 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2511, allocations: 53.42 MB / 432.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004438/0.2555, allocations: 3.045 MB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.2569, allocations: 0.7556 MB / 436.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.257, allocations: 11.94 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.2572, allocations: 55.44 kB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.2573, allocations: 103 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.2576, allocations: 103.8 kB / 436.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.2581, allocations: 422.1 kB / 436.9 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2583, allocations: 75.58 kB / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.2585, allocations: 155.5 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.2587, allocations: 167.3 kB / 437.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.2588, allocations: 32 kB / 437.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.2589, allocations: 36 kB / 437.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.2589, allocations: 75.69 kB / 437.5 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2591, allocations: 183.1 kB / 437.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.2595, allocations: 395.7 kB / 438 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2595, allocations: 0 / 438 MB, free: 1.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2595, allocations: 0 / 438 MB, free: 1.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2596, allocations: 0 / 438 MB, free: 1.156 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.0009973/0.2606, allocations: 0.5676 MB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2606, allocations: 8.031 kB / 438.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.2608, allocations: 48.69 kB / 438.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.2611, allocations: 229.8 kB / 438.9 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2612, allocations: 21.03 kB / 438.9 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.2612, allocations: 28.38 kB / 438.9 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.2617, allocations: 262.4 kB / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2617, allocations: 3.984 kB / 439.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.2618, allocations: 12 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.2618, allocations: 4 kB / 439.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.2623, allocations: 214.5 kB / 439.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.264, allocations: 0.9454 MB / 440.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.2645, allocations: 202.6 kB / 440.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.2647, allocations: 96.38 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.2647, allocations: 4 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2647, allocations: 34.55 kB / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.2647, allocations: 0 / 440.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001185/0.2659, allocations: 411.1 kB / 441.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.266, allocations: 59.41 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.2662, allocations: 261.9 kB / 441.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2663, allocations: 33.7 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2664, allocations: 176.2 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.489e-05/0.2664, allocations: 79.38 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.2665, allocations: 45.89 kB / 441.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2667, allocations: 334.8 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2669, allocations: 76.42 kB / 442.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.2671, allocations: 111.5 kB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.2675, allocations: 191 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2675, allocations: 0 / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006486/0.2681, allocations: 318.8 kB / 442.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.2681, allocations: 11.98 kB / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2681, allocations: 0 / 442.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.2684, allocations: 77.73 kB / 442.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.2686, allocations: 39.91 kB / 442.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/0.2711, allocations: 2.848 MB / 445.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.2713, allocations: 23.91 kB / 445.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.2713, allocations: 12 kB / 445.7 MB, free: 8.973 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.0001567/0.2715, allocations: 141.8 kB / 445.9 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.501e-05/0.2715, allocations: 31.94 kB / 445.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.2716, allocations: 34.27 kB / 445.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2716, allocations: 0 / 445.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.2716, allocations: 8 kB / 446 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2716, allocations: 0 / 446 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.2726, allocations: 0.6514 MB / 446.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2726, allocations: 0 / 446.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.2728, allocations: 27.92 kB / 446.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.273, allocations: 77.66 kB / 446.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.273, allocations: 8 kB / 446.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.2754, allocations: 2.837 MB / 449.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2754, allocations: 3.984 kB / 449.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.276, allocations: 380.5 kB / 449.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.276, allocations: 31.75 kB / 450 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.2761, allocations: 0 / 450 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2763, allocations: 31.97 kB / 450 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2764, allocations: 23.95 kB / 450 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.2764, allocations: 12 kB / 450 MB, free: 4.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.2766, allocations: 185.2 kB / 450.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2766, allocations: 0 / 450.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000353/0.2769, allocations: 91.89 kB / 450.3 MB, free: 4.086 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.0001278/0.2771, allocations: 107.1 kB / 450.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00077/0.2778, allocations: 441.1 kB / 450.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2778, allocations: 0 / 450.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.2783, allocations: 333.2 kB / 451.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.2786, allocations: 63.41 kB / 451.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.2795, allocations: 0.5244 MB / 451.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/0.2799, allocations: 0.7639 MB / 452.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.28, allocations: 23.44 kB / 452.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.28, allocations: 0 / 452.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Templates: time 0.008092/0.2881, allocations: 5.681 MB / 458.2 MB, free: 12.07 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/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_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: 7.851284536998719]