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.001725/0.001725, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001704/0.001704, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 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 1.395/1.395, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001556/0.001556, allocations: 55.86 kB / 371.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2177, allocations: 52.17 MB / 423.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003439/0.2211, allocations: 2.173 MB / 426.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.222, allocations: 0.5532 MB / 426.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.72e-05/0.2221, allocations: 4 kB / 426.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.2222, allocations: 19.78 kB / 426.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.402e-05/0.2223, allocations: 39.64 kB / 426.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000197/0.2225, allocations: 39.89 kB / 426.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.2227, allocations: 155.2 kB / 426.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2229, allocations: 49.59 kB / 426.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.223, allocations: 71.72 kB / 427 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2231, allocations: 63.7 kB / 427 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.2231, allocations: 12 kB / 427.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.412e-05/0.2232, allocations: 20 kB / 427.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.2232, allocations: 23.91 kB / 427.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.2233, allocations: 71.67 kB / 427.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.2235, allocations: 164.5 kB / 427.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2235, allocations: 3.984 kB / 427.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2235, allocations: 4 kB / 427.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.2236, allocations: 4 kB / 427.3 MB, free: 11.25 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005819/0.2241, allocations: 365.9 kB / 427.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.2242, allocations: 8.031 kB / 427.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.2243, allocations: 20.83 kB / 427.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.2245, allocations: 153.7 kB / 427.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2245, allocations: 4.609 kB / 427.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2245, allocations: 16.31 kB / 427.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2248, allocations: 125 kB / 428 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2248, allocations: 0 / 428 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.2248, allocations: 8 kB / 428 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2248, allocations: 0 / 428 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.225, allocations: 76.67 kB / 428.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008534/0.2259, allocations: 0.5697 MB / 428.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.2261, allocations: 90.61 kB / 428.8 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.2262, allocations: 24.98 kB / 428.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.2262, allocations: 0 / 428.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.2263, allocations: 34.55 kB / 428.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.2263, allocations: 3.938 kB / 428.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006491/0.2269, allocations: 182.3 kB / 429 MB, free: 9.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.2269, allocations: 55.34 kB / 429.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.2271, allocations: 144.4 kB / 429.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.2271, allocations: 29.7 kB / 429.2 MB, free: 9.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.2272, allocations: 128.1 kB / 429.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.2272, allocations: 15.86 kB / 429.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.2273, allocations: 25.7 kB / 429.4 MB, free: 9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2274, allocations: 314.8 kB / 429.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.2275, allocations: 27.92 kB / 429.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.2275, allocations: 46.56 kB / 429.8 MB, free: 8.602 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2277, allocations: 66.5 kB / 429.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2277, allocations: 0 / 429.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002904/0.228, allocations: 138.3 kB / 430 MB, free: 8.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.228, allocations: 4 kB / 430 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.228, allocations: 4 kB / 430 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.2282, allocations: 36.83 kB / 430 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.288e-05/0.2282, allocations: 8 kB / 430 MB, free: 8.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2298, allocations: 1.598 MB / 431.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.2299, allocations: 8.031 kB / 431.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.2299, allocations: 4 kB / 431.6 MB, free: 6.605 MB / 334.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 (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 0.0001057/0.23, allocations: 125.8 kB / 431.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.23, allocations: 15.89 kB / 431.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.23, allocations: 8.719 kB / 431.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.23, allocations: 48 / 431.8 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.23, allocations: 3.984 kB / 431.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.23, allocations: 8 kB / 431.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.2303, allocations: 184.6 kB / 432 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2303, allocations: 0 / 432 MB, free: 6.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.2303, allocations: 11.92 kB / 432 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.2304, allocations: 28.84 kB / 432 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.2304, allocations: 4 kB / 432 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.2318, allocations: 1.575 MB / 433.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2318, allocations: 0 / 433.6 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.2321, allocations: 216.3 kB / 433.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.2322, allocations: 15.88 kB / 433.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.2322, allocations: 3.938 kB / 433.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.2323, allocations: 4 kB / 433.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.2323, allocations: 11.98 kB / 433.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2323, allocations: 4 kB / 433.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.2324, allocations: 119.1 kB / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2324, allocations: 0 / 434 MB, free: 4.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.2327, allocations: 36 kB / 434 MB, free: 4.055 MB / 334.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 (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 0.0001049/0.2328, allocations: 91.25 kB / 434.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003902/0.2332, allocations: 194.7 kB / 434.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2332, allocations: 0 / 434.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.2335, allocations: 154.6 kB / 434.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.2337, allocations: 11.94 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/0.2343, allocations: 330.7 kB / 434.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.2346, allocations: 0.708 MB / 435.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.2346, allocations: 7.438 kB / 435.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2346, allocations: 0 / 435.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of Templates: time 0.003691/0.2383, allocations: 1.91 MB / 437.4 MB, free: 0.5703 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Resistor.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.022510240087286]