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.0007861/0.0007861, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.003139/0.003139, allocations: 157.7 kB / 24.7 MB, free: 8.891 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.8247/0.8247, allocations: 177 MB / 204.9 MB, free: 5.73 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.413e-06/1.413e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.132e-05, allocations: 3.125 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002218/0.00224, allocations: 2.096 MB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007212/0.002961, allocations: 0.5921 MB / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.003048, allocations: 0 / 328.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.003149, allocations: 19.8 kB / 328.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.003207, allocations: 51.56 kB / 328.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.003432, allocations: 47.88 kB / 328.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.003576, allocations: 171.1 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.003703, allocations: 37.66 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.003847, allocations: 103.7 kB / 328.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.003924, allocations: 51.81 kB / 328.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.003944, allocations: 12 kB / 329 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.342e-05/0.003997, allocations: 23.98 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.004015, allocations: 23.92 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.004053, allocations: 55.84 kB / 329.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.004229, allocations: 167.5 kB / 329.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.00423, allocations: 4 kB / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004231, allocations: 0 / 329.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004235, allocations: 0 / 329.2 MB, free: 11.9 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.0004297/0.004665, allocations: 369.8 kB / 329.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.004701, allocations: 15.98 kB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.00482, allocations: 28.83 kB / 329.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.005008, allocations: 157.5 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005019, allocations: 4.609 kB / 329.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.005034, allocations: 12.38 kB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.005211, allocations: 141.8 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005219, allocations: 192 / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.005235, allocations: 12.38 kB / 330 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005241, allocations: 7.922 kB / 330 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.005708, allocations: 76.67 kB / 330 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.00618, allocations: 443.4 kB / 330.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.006373, allocations: 78.62 kB / 330.5 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.006415, allocations: 28.97 kB / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.006426, allocations: 0 / 330.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.006444, allocations: 42.5 kB / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.12e-07/0.006445, allocations: 0 / 330.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003894/0.006834, allocations: 182.3 kB / 330.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.006861, allocations: 55.34 kB / 330.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.006947, allocations: 157.7 kB / 331 MB, free: 9.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.006957, allocations: 29.7 kB / 331 MB, free: 9.934 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.007012, allocations: 136 kB / 331.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.007023, allocations: 15.84 kB / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.007053, allocations: 25.67 kB / 331.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.007125, allocations: 322.8 kB / 331.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.007159, allocations: 19.98 kB / 331.5 MB, free: 9.406 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.14e-05/0.007201, allocations: 38.56 kB / 331.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.311e-05/0.007284, allocations: 74.5 kB / 331.6 MB, free: 9.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007286, allocations: 4 kB / 331.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001524/0.007438, allocations: 134.3 kB / 331.8 MB, free: 9.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.007449, allocations: 4 kB / 331.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.007453, allocations: 0 / 331.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.007573, allocations: 36.84 kB / 331.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.859e-05/0.007601, allocations: 11.92 kB / 331.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008988/0.0085, allocations: 1.559 MB / 333.4 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.008533, allocations: 7.984 kB / 333.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.00854, allocations: 4 kB / 333.4 MB, free: 7.41 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 6.723e-05/0.008607, allocations: 121.9 kB / 333.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.008624, allocations: 11.95 kB / 333.5 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.008636, allocations: 12.77 kB / 333.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.00864, allocations: 11.97 kB / 333.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-07/0.008641, allocations: 0 / 333.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.008643, allocations: 0 / 333.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.008746, allocations: 141.3 kB / 333.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008747, allocations: 0 / 333.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.463e-05/0.008762, allocations: 7.984 kB / 333.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.17e-05/0.008834, allocations: 32.84 kB / 333.7 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.00884, allocations: 7.984 kB / 333.7 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007309/0.009571, allocations: 1.547 MB / 335.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.009572, allocations: 3.938 kB / 335.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.009731, allocations: 208.3 kB / 335.5 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-06/0.00974, allocations: 12.12 kB / 335.5 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-06/0.009747, allocations: 11.94 kB / 335.5 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.787e-05/0.009795, allocations: 11.94 kB / 335.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.009823, allocations: 7.984 kB / 335.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.009827, allocations: 0 / 335.5 MB, free: 5.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.953e-05/0.009877, allocations: 118.2 kB / 335.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009877, allocations: 0 / 335.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002084/0.01009, allocations: 39.89 kB / 335.7 MB, free: 4.953 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.216e-05/0.01016, allocations: 95.25 kB / 335.8 MB, free: 4.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.0104, allocations: 194.5 kB / 336 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.0104, allocations: 4 kB / 336 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.298e-05/0.01049, allocations: 146.6 kB / 336.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.01067, allocations: 15.28 kB / 336.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.01103, allocations: 299.3 kB / 336.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.412e-05/0.01108, allocations: 94.27 kB / 336.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.01111, allocations: 12.5 kB / 336.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of SimCode: time 6.22e-07/0.01111, allocations: 0 / 336.5 MB, free: 4.023 MB / 298.7 MB Notification: Performance of Templates: time 0.002663/0.01377, allocations: 2 MB / 338.5 MB, free: 2.02 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Resistor.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.224015005864203]