Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001456/0.002752, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007588/0.0007588, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001869, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8924/0.8924, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2039/1.096, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") translateModel(Modelica.Electrical.Analog.Examples.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.943e-05, allocations: 9.688 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003217/0.003236, allocations: 2.21 MB / 242 MB, free: 4.137 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.00388, allocations: 0.5525 MB / 242.5 MB, free: 3.582 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.003964, allocations: 4 kB / 242.5 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.187e-05/0.004046, allocations: 22.92 kB / 242.5 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.004118, allocations: 47.56 kB / 242.6 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.004236, allocations: 39.88 kB / 242.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.004388, allocations: 163.1 kB / 242.8 MB, free: 3.312 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.004511, allocations: 42.3 kB / 242.8 MB, free: 3.266 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.004653, allocations: 112.9 kB / 242.9 MB, free: 3.156 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.927e-05/0.004743, allocations: 43.89 kB / 243 MB, free: 3.113 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.004763, allocations: 12 kB / 243 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.622e-05/0.004829, allocations: 16 kB / 243 MB, free: 3.086 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.004855, allocations: 28.94 kB / 243 MB, free: 3.059 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.004891, allocations: 39.94 kB / 243.1 MB, free: 3.02 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.005067, allocations: 106.6 kB / 243.2 MB, free: 2.918 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.00508, allocations: 0 / 243.2 MB, free: 2.918 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.005081, allocations: 0 / 243.2 MB, free: 2.918 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.005094, allocations: 0 / 243.2 MB, free: 2.918 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005248/0.005619, allocations: 376.1 kB / 243.6 MB, free: 2.523 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.005661, allocations: 8.031 kB / 243.6 MB, free: 2.516 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.005841, allocations: 98.03 kB / 243.7 MB, free: 2.402 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.006037, allocations: 142.3 kB / 243.8 MB, free: 2.238 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.006054, allocations: 12.61 kB / 243.8 MB, free: 2.227 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.006073, allocations: 13.34 kB / 243.8 MB, free: 2.215 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.006258, allocations: 122.5 kB / 243.9 MB, free: 2.082 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.00627, allocations: 5.031 kB / 243.9 MB, free: 2.078 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.006286, allocations: 12.36 kB / 244 MB, free: 2.066 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.006296, allocations: 3.938 kB / 244 MB, free: 2.062 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.255e-05/0.006338, allocations: 24.36 kB / 244 MB, free: 2.043 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.006824, allocations: 355.1 kB / 244.3 MB, free: 1.672 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/0.007019, allocations: 71.81 kB / 244.4 MB, free: 1.594 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.391e-05/0.007043, allocations: 16.84 kB / 244.4 MB, free: 1.574 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.007056, allocations: 1.969 kB / 244.4 MB, free: 1.574 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.007077, allocations: 34.56 kB / 244.5 MB, free: 1.531 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.007078, allocations: 0 / 244.5 MB, free: 1.531 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003399/0.007418, allocations: 125.2 kB / 244.6 MB, free: 1.402 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.007448, allocations: 55.39 kB / 244.6 MB, free: 1.336 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.197e-05/0.00753, allocations: 146.1 kB / 244.8 MB, free: 1.184 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.007541, allocations: 31.39 kB / 244.8 MB, free: 1.148 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.007598, allocations: 124.1 kB / 244.9 MB, free: 1.016 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.007613, allocations: 19.78 kB / 244.9 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.007645, allocations: 21.72 kB / 245 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.007736, allocations: 330.7 kB / 245.3 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.00775, allocations: 5.156 kB / 245.3 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.686e-05/0.007776, allocations: 30.5 kB / 245.3 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.178e-05/0.007828, allocations: 55.47 kB / 245.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00783, allocations: 0 / 245.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001245/0.007955, allocations: 84.14 kB / 245.5 MB, free: 452 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.007968, allocations: 4 kB / 245.5 MB, free: 448 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.007973, allocations: 4.5 kB / 245.5 MB, free: 444 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.008125, allocations: 39.23 kB / 245.5 MB, free: 404 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.00817, allocations: 8 kB / 245.5 MB, free: 396 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.009239, allocations: 1.415 MB / 246.9 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.009277, allocations: 11.89 kB / 246.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.009283, allocations: 0 / 246.9 MB, free: 14.88 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 (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 6.673e-05/0.00935, allocations: 121.7 kB / 247.1 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.009367, allocations: 7.984 kB / 247.1 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.514e-05/0.009382, allocations: 12.78 kB / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.009383, allocations: 4.031 kB / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.009385, allocations: 0 / 247.1 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.00939, allocations: 8.016 kB / 247.1 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.009495, allocations: 97.8 kB / 247.2 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.009496, allocations: 0 / 247.2 MB, free: 14.6 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.009516, allocations: 7.984 kB / 247.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.009526, allocations: 11.95 kB / 247.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.501e-05/0.009611, allocations: 20.84 kB / 247.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.009617, allocations: 8 kB / 247.2 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007662/0.01038, allocations: 1.399 MB / 248.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.01038, allocations: 0 / 248.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.01051, allocations: 180.2 kB / 248.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-06/0.01052, allocations: 0 / 248.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.01057, allocations: 8.031 kB / 248.8 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.0106, allocations: 7.984 kB / 248.8 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.0106, allocations: 4 kB / 248.8 MB, free: 12.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.904e-05/0.01063, allocations: 32.09 kB / 248.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01063, allocations: 0 / 248.9 MB, free: 12.81 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.01082, allocations: 43.83 kB / 248.9 MB, free: 12.77 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 7.89e-05/0.0109, allocations: 80.05 kB / 249 MB, free: 12.69 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.01111, allocations: 179 kB / 249.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.01112, allocations: 0 / 249.2 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.01122, allocations: 151.4 kB / 249.3 MB, free: 12.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.01139, allocations: 91.64 kB / 249.4 MB, free: 12.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.01309, allocations: 288.7 kB / 249.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.01313, allocations: 67.33 kB / 249.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.01316, allocations: 4.547 kB / 249.7 MB, free: 11.84 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.01323, allocations: 59.36 kB / 249.8 MB, free: 11.78 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01323, allocations: 0 / 249.8 MB, free: 11.78 MB / 250.7 MB Notification: Performance of Templates: time 0.003126/0.01635, allocations: 1.639 MB / 251.4 MB, free: 10.16 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6240419801324606]