Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.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.0009089/0.0009089, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008967/0.0008967, allocations: 159.4 kB / 24.91 MB, free: 8.719 MB / 18.57 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 0.885/0.885, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] 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.Resistor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|resistor.i|resistor.LossPower",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.603e-05, allocations: 5.266 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003862/0.003888, allocations: 2.196 MB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.005129, allocations: 0.6113 MB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.005242, allocations: 4 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.005388, allocations: 23.78 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.005493, allocations: 43.52 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.005786, allocations: 63.86 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.006018, allocations: 167.1 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.006179, allocations: 38.3 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.006436, allocations: 103.7 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.006554, allocations: 47.88 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.006583, allocations: 12 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.006659, allocations: 27.94 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.006691, allocations: 27.89 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.006746, allocations: 47.86 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.006971, allocations: 111.6 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.006975, allocations: 4 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006976, allocations: 0 / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.006981, allocations: 0 / 276.9 MB, free: 13.52 MB / 266.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.0005122/0.007493, allocations: 352.4 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.007535, allocations: 15.98 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.007737, allocations: 24.92 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.007942, allocations: 141.5 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.007957, allocations: 8.609 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.00798, allocations: 16.38 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.008177, allocations: 126.5 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.008186, allocations: 192 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.0082, allocations: 4.375 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.00821, allocations: 7.938 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.008279, allocations: 32.62 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.008887, allocations: 355.1 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.009075, allocations: 50.56 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.00911, allocations: 28.91 kB / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.009124, allocations: 0 / 278 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.009156, allocations: 42.48 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.009158, allocations: 0 / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004124/0.00957, allocations: 126.3 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.0096, allocations: 51.41 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.009706, allocations: 151.7 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.009723, allocations: 25.7 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.009787, allocations: 128.1 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.0098, allocations: 11.86 kB / 278.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.009842, allocations: 25.7 kB / 278.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.009939, allocations: 334.7 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.009956, allocations: 4 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.009987, allocations: 26.58 kB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.058e-05/0.01005, allocations: 46.47 kB / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01005, allocations: 0 / 279 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001787/0.01023, allocations: 90.39 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.01025, allocations: 7.938 kB / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01025, allocations: 0 / 279.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.01042, allocations: 36.91 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-05/0.01046, allocations: 7.984 kB / 279.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.01169, allocations: 1.407 MB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.01175, allocations: 12.08 kB / 280.6 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01176, allocations: 7.922 kB / 280.6 MB, free: 9.586 MB / 266.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 8.551e-05/0.01184, allocations: 121.8 kB / 280.7 MB, free: 9.457 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.01187, allocations: 4 kB / 280.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.0119, allocations: 16.77 kB / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.0119, allocations: 0 / 280.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.0119, allocations: 3.938 kB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01191, allocations: 4 kB / 280.7 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.01208, allocations: 97.75 kB / 280.8 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.01208, allocations: 0 / 280.8 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.979e-05/0.01211, allocations: 11.98 kB / 280.8 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.01223, allocations: 24.84 kB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.01223, allocations: 0 / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009836/0.01322, allocations: 1.395 MB / 282.2 MB, free: 7.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.01322, allocations: 11.95 kB / 282.2 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01341, allocations: 180.2 kB / 282.4 MB, free: 7.586 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.468e-05/0.01343, allocations: 7.891 kB / 282.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.01344, allocations: 4 kB / 282.4 MB, free: 7.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.697e-05/0.01352, allocations: 4 kB / 282.4 MB, free: 7.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.01355, allocations: 7.984 kB / 282.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.413e-06/0.01356, allocations: 4 kB / 282.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.0136, allocations: 32.2 kB / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0136, allocations: 0 / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.01399, allocations: 47.88 kB / 282.5 MB, free: 7.48 MB / 266.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 0.0001192/0.01411, allocations: 76.42 kB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.01441, allocations: 158.2 kB / 282.8 MB, free: 7.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.01441, allocations: 0 / 282.8 MB, free: 7.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.01457, allocations: 159.3 kB / 282.9 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.0148, allocations: 16.34 kB / 282.9 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/0.01565, allocations: 280.7 kB / 283.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.389e-05/0.0157, allocations: 67.33 kB / 283.3 MB, free: 6.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.01575, allocations: 16.47 kB / 283.3 MB, free: 6.633 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.01582, allocations: 59.36 kB / 283.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of SimCode: time 1.373e-06/0.01582, allocations: 0 / 283.3 MB, free: 6.574 MB / 266.7 MB Notification: Performance of Templates: time 0.00392/0.01974, allocations: 1.551 MB / 284.9 MB, free: 5.047 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5485681761056185]