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.001064/0.001064, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001501/0.002565, allocations: 449.7 kB / 10.37 MB, free: 332 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.0006738/0.0006738, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009729/0.001647, allocations: 459.6 kB / 11.69 MB, free: 2.48 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.9105/0.9105, allocations: 173.3 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08585/0.9963, allocations: 52.5 MB / 238.3 MB, free: 4.426 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 1.433e-06/1.433e-06, allocations: 0 / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.091e-05, allocations: 6.312 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003645/0.003666, allocations: 2.225 MB / 241.8 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.004682, allocations: 0.5531 MB / 242.3 MB, free: 388 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.927e-05/0.004771, allocations: 4 kB / 242.3 MB, free: 384 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.365e-05/0.004855, allocations: 23.72 kB / 242.4 MB, free: 360 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.004962, allocations: 47.58 kB / 242.4 MB, free: 312 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.00511, allocations: 35.94 kB / 242.4 MB, free: 276 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.005301, allocations: 163.1 kB / 242.6 MB, free: 112 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.00543, allocations: 42.3 kB / 242.6 MB, free: 68 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.005656, allocations: 115.7 kB / 242.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.005767, allocations: 55.75 kB / 242.8 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.005793, allocations: 12 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/0.005878, allocations: 16 kB / 242.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.706e-05/0.005905, allocations: 19.94 kB / 242.9 MB, free: 15.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.005958, allocations: 43.88 kB / 242.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.006158, allocations: 103.7 kB / 243 MB, free: 15.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.545e-05/0.006173, allocations: 0 / 243 MB, free: 15.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006174, allocations: 0 / 243 MB, free: 15.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.00619, allocations: 0 / 243 MB, free: 15.71 MB / 250.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.0005327/0.006723, allocations: 376.1 kB / 243.4 MB, free: 15.31 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.006755, allocations: 8.031 kB / 243.4 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.006903, allocations: 102 kB / 243.5 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.007063, allocations: 133.6 kB / 243.6 MB, free: 15.03 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.007077, allocations: 8.609 kB / 243.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.007095, allocations: 12.38 kB / 243.6 MB, free: 15.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.007271, allocations: 126.5 kB / 243.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.007279, allocations: 192 / 243.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.007293, allocations: 8.375 kB / 243.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.007301, allocations: 7.938 kB / 243.8 MB, free: 14.86 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.007371, allocations: 24.69 kB / 243.8 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005743/0.007945, allocations: 355.1 kB / 244.1 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.00817, allocations: 70.47 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.008203, allocations: 12.86 kB / 244.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.008215, allocations: 0 / 244.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.008241, allocations: 34.56 kB / 244.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.008242, allocations: 7.938 kB / 244.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004241/0.008666, allocations: 122.5 kB / 244.4 MB, free: 14.19 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.008695, allocations: 55.34 kB / 244.4 MB, free: 14.12 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.008792, allocations: 149.6 kB / 244.6 MB, free: 13.96 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.008809, allocations: 29.7 kB / 244.6 MB, free: 13.93 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.008871, allocations: 128.1 kB / 244.7 MB, free: 13.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.008891, allocations: 15.8 kB / 244.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.008931, allocations: 25.7 kB / 244.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.009019, allocations: 322.8 kB / 245.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.00904, allocations: 8 kB / 245.1 MB, free: 13.42 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.438e-05/0.009074, allocations: 30.5 kB / 245.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.001e-05/0.009134, allocations: 46.48 kB / 245.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.009137, allocations: 4 kB / 245.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001696/0.009306, allocations: 86.45 kB / 245.3 MB, free: 13.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.009323, allocations: 7.984 kB / 245.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.009327, allocations: 0 / 245.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.009482, allocations: 40.95 kB / 245.3 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.323e-05/0.009536, allocations: 11.98 kB / 245.3 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.01069, allocations: 1.406 MB / 246.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.396e-05/0.01075, allocations: 7.891 kB / 246.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.01076, allocations: 4 kB / 246.7 MB, free: 11.66 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 7.726e-05/0.01083, allocations: 125.8 kB / 246.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.01086, allocations: 4 kB / 246.9 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.01088, allocations: 12.77 kB / 246.9 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01088, allocations: 4 kB / 246.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.01088, allocations: 0 / 246.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.01089, allocations: 0 / 246.9 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.01103, allocations: 97.92 kB / 247 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.01103, allocations: 8 kB / 247 MB, free: 11.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.01107, allocations: 7.922 kB / 247 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.01109, allocations: 7.953 kB / 247 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.0112, allocations: 36.83 kB / 247 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01121, allocations: 7.922 kB / 247 MB, free: 11.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009525/0.01217, allocations: 1.399 MB / 248.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01217, allocations: 0 / 248.4 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.01235, allocations: 184.4 kB / 248.6 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.01237, allocations: 0 / 248.6 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.01245, allocations: 11.98 kB / 248.6 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.01247, allocations: 4 kB / 248.6 MB, free: 9.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01248, allocations: 3.984 kB / 248.6 MB, free: 9.621 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.736e-05/0.01252, allocations: 28.83 kB / 248.7 MB, free: 9.59 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01252, allocations: 0 / 248.7 MB, free: 9.59 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003162/0.01284, allocations: 43.89 kB / 248.7 MB, free: 9.547 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.825e-05/0.01291, allocations: 76.42 kB / 248.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.01317, allocations: 171 kB / 249 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.01318, allocations: 0 / 249 MB, free: 9.285 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.01333, allocations: 151.4 kB / 249.1 MB, free: 9.121 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01352, allocations: 19.94 kB / 249.1 MB, free: 9.102 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.01625, allocations: 300.6 kB / 249.4 MB, free: 8.781 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.422e-05/0.0163, allocations: 67.33 kB / 249.5 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.01633, allocations: 4.5 kB / 249.5 MB, free: 8.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.139e-05/0.01639, allocations: 63.36 kB / 249.5 MB, free: 8.629 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01639, allocations: 0 / 249.5 MB, free: 8.629 MB / 250.7 MB Notification: Performance of Templates: time 0.004123/0.02052, allocations: 1.599 MB / 251.1 MB, free: 7.051 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.459407739341259]