Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003186/0.003186, allocations: 157.3 kB / 24.69 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8535/0.8535, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.997e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002375/0.002394, allocations: 2.101 MB / 327.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.003074, allocations: 0.5765 MB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.003154, allocations: 7.938 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.003257, allocations: 23.8 kB / 328.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.003572, allocations: 51.48 kB / 328.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.003785, allocations: 51.92 kB / 328.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.003926, allocations: 171.1 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004052, allocations: 40.92 kB / 328.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.004192, allocations: 99.72 kB / 329 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.239e-05/0.004265, allocations: 47.83 kB / 329 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.004288, allocations: 12 kB / 329 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.661e-05/0.004345, allocations: 27.97 kB / 329 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.004364, allocations: 23.92 kB / 329.1 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.004404, allocations: 51.84 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.004581, allocations: 167.5 kB / 329.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004583, allocations: 0 / 329.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.004584, allocations: 0 / 329.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.004587, allocations: 4 kB / 329.3 MB, free: 11.95 MB / 298.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.0004261/0.005013, allocations: 369.9 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.005045, allocations: 8.031 kB / 329.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.005172, allocations: 32.77 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.005361, allocations: 153.6 kB / 329.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.005373, allocations: 12.61 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.005387, allocations: 16.31 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.005562, allocations: 141.7 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.00557, allocations: 4.188 kB / 330 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.005587, allocations: 12.36 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.005592, allocations: 3.938 kB / 330 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.0057, allocations: 76.67 kB / 330.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004936/0.006193, allocations: 435.4 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.006405, allocations: 82.56 kB / 330.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.00645, allocations: 32.97 kB / 330.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.006463, allocations: 7.922 kB / 330.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.006481, allocations: 38.5 kB / 330.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.006483, allocations: 0 / 330.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004033/0.006886, allocations: 178.3 kB / 330.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.006913, allocations: 51.41 kB / 330.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.007006, allocations: 160.7 kB / 331.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.007017, allocations: 25.7 kB / 331.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.007075, allocations: 132.1 kB / 331.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.007088, allocations: 19.83 kB / 331.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.007118, allocations: 25.67 kB / 331.3 MB, free: 9.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.007193, allocations: 318.8 kB / 331.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.722e-05/0.00723, allocations: 27.98 kB / 331.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.007274, allocations: 46.5 kB / 331.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.00735, allocations: 62.56 kB / 331.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007352, allocations: 0 / 331.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001578/0.00751, allocations: 138.3 kB / 331.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.007521, allocations: 8 kB / 331.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.007525, allocations: 4.062 kB / 331.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.00765, allocations: 32.84 kB / 331.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.006e-05/0.00768, allocations: 11.98 kB / 331.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000964/0.008644, allocations: 1.558 MB / 333.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.00868, allocations: 7.984 kB / 333.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.00869, allocations: 8 kB / 333.5 MB, free: 7.453 MB / 298.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.73e-05/0.008768, allocations: 117.8 kB / 333.6 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.008785, allocations: 11.95 kB / 333.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.502e-05/0.0088, allocations: 16.77 kB / 333.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008803, allocations: 3.938 kB / 333.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008804, allocations: 7.938 kB / 333.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.008806, allocations: 0 / 333.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.008911, allocations: 141.3 kB / 333.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008913, allocations: 192 / 333.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.008928, allocations: 7.984 kB / 333.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.311e-05/0.009001, allocations: 36.78 kB / 333.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.009009, allocations: 3.984 kB / 333.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007609/0.009769, allocations: 1.559 MB / 335.4 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.00977, allocations: 4.062 kB / 335.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.00994, allocations: 208.2 kB / 335.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.009952, allocations: 15.94 kB / 335.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-06/0.009959, allocations: 3.938 kB / 335.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.67e-05/0.01001, allocations: 4 kB / 335.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/0.01029, allocations: 7.984 kB / 335.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.0103, allocations: 4 kB / 335.6 MB, free: 5.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.889e-05/0.01035, allocations: 111.2 kB / 335.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01035, allocations: 4 kB / 335.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.01056, allocations: 43.89 kB / 335.8 MB, free: 4.988 MB / 298.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.15e-05/0.01063, allocations: 91.25 kB / 335.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.01089, allocations: 190.5 kB / 336 MB, free: 4.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.01089, allocations: 4 kB / 336 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.573e-05/0.01099, allocations: 150.8 kB / 336.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.01116, allocations: 12 kB / 336.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.01153, allocations: 299.1 kB / 336.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.003e-05/0.01159, allocations: 98.27 kB / 336.6 MB, free: 4.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.01162, allocations: 12.5 kB / 336.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01162, allocations: 0 / 336.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of Templates: time 0.002367/0.01398, allocations: 1.999 MB / 338.6 MB, free: 2.059 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.348189466632903]