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.001243/0.001243, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001301/0.001301, allocations: 165.5 kB / 24.82 MB, free: 9.258 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.9723/0.9723, allocations: 177 MB / 205.1 MB, free: 5.48 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.273e-06/1.273e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136e-05/1.263e-05, allocations: 5.266 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.002193/0.002205, allocations: 2.197 MB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.002954, allocations: 0.6075 MB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.003039, allocations: 4 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.00314, allocations: 15.8 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.00321, allocations: 51.5 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.003404, allocations: 55.86 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.003539, allocations: 163.1 kB / 276.4 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.003645, allocations: 41.66 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.003783, allocations: 103.7 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.003854, allocations: 47.88 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.003878, allocations: 12 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.003933, allocations: 31.86 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.003952, allocations: 27.91 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/0.003989, allocations: 47.86 kB / 276.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.004132, allocations: 111.6 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004135, allocations: 0 / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004135, allocations: 4 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.004138, allocations: 0 / 276.8 MB, free: 13.69 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.0003922/0.00453, allocations: 472.2 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.004563, allocations: 15.98 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.004688, allocations: 36.77 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.004821, allocations: 155 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.004837, allocations: 12.59 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004849, allocations: 12.38 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.00498, allocations: 122.5 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.004987, allocations: 192 / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.004996, allocations: 8.375 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005003, allocations: 7.938 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.005046, allocations: 28.67 kB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.005469, allocations: 463.1 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.005603, allocations: 75.03 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.005624, allocations: 15.69 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.005634, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.005655, allocations: 53.44 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.005656, allocations: 0 / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003111/0.005967, allocations: 141.1 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.005987, allocations: 51.41 kB / 278.5 MB, free: 11.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.006071, allocations: 197.9 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.006083, allocations: 25.7 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.006143, allocations: 178.9 kB / 278.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.006154, allocations: 19.8 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.006185, allocations: 31.34 kB / 278.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006293, allocations: 0.4922 MB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.006306, allocations: 7.984 kB / 279.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.739e-05/0.006334, allocations: 39.05 kB / 279.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.006382, allocations: 50.98 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006384, allocations: 4 kB / 279.5 MB, free: 10.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001198/0.006503, allocations: 105.2 kB / 279.6 MB, free: 10.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.006518, allocations: 11.94 kB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.006522, allocations: 0 / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.006643, allocations: 43.89 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.711e-05/0.00667, allocations: 4 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000986/0.007656, allocations: 2.052 MB / 281.7 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.218e-05/0.007689, allocations: 11.92 kB / 281.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.007693, allocations: 0 / 281.7 MB, free: 8.434 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 7.996e-05/0.007773, allocations: 164.6 kB / 281.9 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.007795, allocations: 11.98 kB / 281.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.335e-05/0.007808, allocations: 12.78 kB / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007809, allocations: 0 / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.00781, allocations: 0 / 281.9 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007814, allocations: 3.938 kB / 281.9 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.007921, allocations: 133.1 kB / 282.1 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.007923, allocations: 8.062 kB / 282.1 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.007935, allocations: 4 kB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-05/0.008017, allocations: 39.66 kB / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.008021, allocations: 0 / 282.1 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007835/0.008804, allocations: 2.044 MB / 284.1 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.008805, allocations: 0 / 284.1 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.008967, allocations: 247.5 kB / 284.4 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.163e-05/0.008979, allocations: 23.92 kB / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-06/0.008985, allocations: 0 / 284.4 MB, free: 5.574 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.019e-05/0.009035, allocations: 7.984 kB / 284.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.009061, allocations: 4 kB / 284.4 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.009066, allocations: 3.984 kB / 284.4 MB, free: 5.559 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.527e-05/0.009121, allocations: 150.5 kB / 284.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009121, allocations: 0 / 284.6 MB, free: 5.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.009339, allocations: 31.95 kB / 284.6 MB, free: 5.383 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 7.205e-05/0.009411, allocations: 103.2 kB / 284.7 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.009612, allocations: 224.3 kB / 284.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.009613, allocations: 0 / 284.9 MB, free: 5.031 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.009723, allocations: 213.4 kB / 285.1 MB, free: 4.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.009888, allocations: 16.14 kB / 285.1 MB, free: 4.785 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.0104, allocations: 274.6 kB / 285.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.01044, allocations: 71.27 kB / 285.5 MB, free: 4.398 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.014e-05/0.01047, allocations: 8.531 kB / 285.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.01054, allocations: 86.19 kB / 285.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01054, allocations: 0 / 285.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of Templates: time 0.003007/0.01355, allocations: 1.576 MB / 287.2 MB, free: 2.746 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.58943426143378]