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.00193/0.00193, allocations: 87.34 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002351/0.002351, allocations: 157.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.567/1.567, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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 2.234e-06/2.234e-06, allocations: 0.7969 kB / 325 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.348e-05/2.572e-05, allocations: 2.281 kB / 325 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003421/0.003447, allocations: 2.089 MB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.004634, allocations: 0.5884 MB / 327.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.382e-05/0.004727, allocations: 3.188 kB / 327.7 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.004853, allocations: 24.23 kB / 327.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.004959, allocations: 51.52 kB / 327.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.005236, allocations: 47.14 kB / 327.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.005478, allocations: 167.9 kB / 328 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.005635, allocations: 37.38 kB / 328 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.005862, allocations: 105.5 kB / 328.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005969, allocations: 50.66 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.005993, allocations: 10.31 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.006065, allocations: 22.5 kB / 328.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.006106, allocations: 27.95 kB / 328.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.57e-05/0.006182, allocations: 55.75 kB / 328.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.006467, allocations: 165.1 kB / 328.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.006471, allocations: 1.062 kB / 328.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006472, allocations: 0 / 328.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.006481, allocations: 3.938 kB / 328.5 MB, free: 14.28 MB / 302.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.000676/0.007157, allocations: 369.2 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.007196, allocations: 14.19 kB / 328.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.007391, allocations: 30.75 kB / 328.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.00768, allocations: 158.8 kB / 329 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.007691, allocations: 6.109 kB / 329 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.007715, allocations: 11.47 kB / 329 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.007997, allocations: 143.7 kB / 329.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.008008, allocations: 4.922 kB / 329.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.008028, allocations: 9.5 kB / 329.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.008037, allocations: 7.188 kB / 329.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.008245, allocations: 83.92 kB / 329.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008021/0.009047, allocations: 431.9 kB / 329.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.009357, allocations: 80.34 kB / 329.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.35e-05/0.009441, allocations: 29.52 kB / 329.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.009454, allocations: 0 / 329.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.009488, allocations: 45.61 kB / 329.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.009489, allocations: 0 / 329.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007257/0.01022, allocations: 176.1 kB / 330 MB, free: 13.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.01025, allocations: 52.47 kB / 330.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.01042, allocations: 163.9 kB / 330.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.01044, allocations: 26.8 kB / 330.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.094e-05/0.01053, allocations: 129 kB / 330.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.01055, allocations: 17.34 kB / 330.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.0106, allocations: 28.72 kB / 330.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01074, allocations: 320.5 kB / 330.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-05/0.01081, allocations: 18.58 kB / 330.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.232e-05/0.0109, allocations: 42.59 kB / 330.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.01106, allocations: 75.39 kB / 330.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01106, allocations: 0 / 330.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003214/0.01138, allocations: 141.3 kB / 331 MB, free: 12.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.0114, allocations: 8.375 kB / 331 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.0114, allocations: 1 kB / 331 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.0116, allocations: 38.03 kB / 331.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.01166, allocations: 13.36 kB / 331.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.01333, allocations: 1.554 MB / 332.6 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.823e-05/0.01341, allocations: 8.797 kB / 332.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.01342, allocations: 2.312 kB / 332.6 MB, free: 10.75 MB / 302.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.0001268/0.01354, allocations: 124.7 kB / 332.8 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.01358, allocations: 9.156 kB / 332.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.01361, allocations: 17.56 kB / 332.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01361, allocations: 3.938 kB / 332.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01362, allocations: 1.703 kB / 332.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01362, allocations: 0.5625 kB / 332.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.01383, allocations: 140.7 kB / 332.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01383, allocations: 0 / 332.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.01387, allocations: 5.047 kB / 332.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001395/0.01401, allocations: 43.58 kB / 333 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.01402, allocations: 3 kB / 333 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.01547, allocations: 1.552 MB / 334.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01548, allocations: 0 / 334.5 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.01583, allocations: 213.1 kB / 334.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.01585, allocations: 11.47 kB / 334.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.01586, allocations: 9.062 kB / 334.8 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.01597, allocations: 8.531 kB / 334.8 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.01601, allocations: 6.172 kB / 334.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.01602, allocations: 1.188 kB / 334.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.46e-05/0.01611, allocations: 114.3 kB / 334.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01611, allocations: 0 / 334.9 MB, free: 8.648 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.01649, allocations: 39.33 kB / 334.9 MB, free: 8.641 MB / 302.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.0001265/0.01662, allocations: 100.1 kB / 335 MB, free: 8.547 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.01704, allocations: 192.2 kB / 335.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01704, allocations: 0 / 335.2 MB, free: 8.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.01727, allocations: 154.6 kB / 335.4 MB, free: 8.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01753, allocations: 8.75 kB / 335.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005953/0.01813, allocations: 271.8 kB / 335.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.385e-05/0.01822, allocations: 96.14 kB / 335.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.039e-05/0.01826, allocations: 6.75 kB / 335.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.01829, allocations: 11.75 kB / 335.8 MB, free: 7.934 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01829, allocations: 0 / 335.8 MB, free: 7.934 MB / 302.1 MB Notification: Performance of Templates: time 0.00489/0.02318, allocations: 1.459 MB / 337.2 MB, free: 7.203 MB / 302.1 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.471992123872042]