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.001779/0.001779, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.00236/0.00236, allocations: 213.9 kB / 24.48 MB, free: 3.836 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.406/1.406, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.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 0.002114/0.002114, allocations: 67.89 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.238, allocations: 53.41 MB / 432.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003509/0.2415, allocations: 2.077 MB / 434.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2426, allocations: 0.5805 MB / 435.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.2427, allocations: 7.938 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.2428, allocations: 23.78 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.919e-05/0.2429, allocations: 51.61 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.2431, allocations: 43.89 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.2433, allocations: 163.2 kB / 435.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.2435, allocations: 33.66 kB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.2436, allocations: 71.72 kB / 435.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.2437, allocations: 63.62 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.2438, allocations: 12 kB / 435.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.2438, allocations: 24 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.076e-05/0.2439, allocations: 31.91 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.2439, allocations: 59.73 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.2442, allocations: 165 kB / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2442, allocations: 3.938 kB / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2442, allocations: 0 / 435.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.2442, allocations: 0 / 435.8 MB, free: 3.133 MB / 334.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.0005985/0.2448, allocations: 373.8 kB / 436.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2448, allocations: 15.98 kB / 436.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.245, allocations: 24.83 kB / 436.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.2453, allocations: 158.3 kB / 436.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2453, allocations: 8.609 kB / 436.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.2453, allocations: 12.38 kB / 436.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.2456, allocations: 153.5 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2456, allocations: 0 / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.2456, allocations: 12 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2456, allocations: 3.938 kB / 436.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.2458, allocations: 80.66 kB / 436.6 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000738/0.2465, allocations: 439 kB / 437.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.2468, allocations: 86.5 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.2469, allocations: 28.97 kB / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.2469, allocations: 0 / 437.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.2469, allocations: 38.56 kB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.247, allocations: 0 / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006475/0.2476, allocations: 174.3 kB / 437.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.2476, allocations: 51.41 kB / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2478, allocations: 165 kB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2478, allocations: 29.7 kB / 437.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.316e-05/0.2479, allocations: 132.1 kB / 437.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.2479, allocations: 15.84 kB / 437.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.2479, allocations: 25.67 kB / 437.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2481, allocations: 322.8 kB / 438.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.2482, allocations: 19.98 kB / 438.1 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.2482, allocations: 50.5 kB / 438.2 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2484, allocations: 66.56 kB / 438.2 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2484, allocations: 4 kB / 438.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003213/0.2487, allocations: 142.2 kB / 438.4 MB, free: 352 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2487, allocations: 4 kB / 438.4 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2487, allocations: 0 / 438.4 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.2489, allocations: 36.84 kB / 438.4 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.347e-05/0.249, allocations: 8.172 kB / 438.4 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2506, allocations: 1.567 MB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.2507, allocations: 3.953 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.2507, allocations: 8 kB / 440 MB, free: 14.61 MB / 350.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.0001136/0.2508, allocations: 121.8 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.2509, allocations: 15.95 kB / 440.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.2509, allocations: 16.7 kB / 440.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2509, allocations: 4 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.2509, allocations: 0 / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2509, allocations: 0 / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.2511, allocations: 137.3 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2511, allocations: 0 / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/0.2511, allocations: 11.92 kB / 440.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.2513, allocations: 32.84 kB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2513, allocations: 7.922 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.2527, allocations: 1.551 MB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2527, allocations: 0 / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.253, allocations: 212.2 kB / 442.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.292e-05/0.253, allocations: 15.88 kB / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.253, allocations: 0 / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.2531, allocations: 12.06 kB / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.2532, allocations: 7.984 kB / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.2532, allocations: 0 / 442.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2533, allocations: 118.8 kB / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2533, allocations: 0 / 442.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.2536, allocations: 39.89 kB / 442.3 MB, free: 12.16 MB / 350.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.0001068/0.2537, allocations: 95.25 kB / 442.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004168/0.2541, allocations: 190.5 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2542, allocations: 4 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.2544, allocations: 150.6 kB / 442.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.2546, allocations: 15.94 kB / 442.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00058/0.2552, allocations: 322.5 kB / 443.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.954e-05/0.2553, allocations: 94.27 kB / 443.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.2553, allocations: 11.44 kB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2553, allocations: 3.938 kB / 443.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Templates: time 0.00403/0.2594, allocations: 2.002 MB / 445.2 MB, free: 9.203 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Resistor/Resistor.csv","/var/lib/jenkins1/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: 6.989202738273889]