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.0016/0.0016, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 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.001832/0.001832, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001542/0.001542, allocations: 47.92 kB / 374.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 53.33 MB / 427.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Resistor): time 0.003745/0.1283, allocations: 2.174 MB / 429.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1296, allocations: 0.6155 MB / 430.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.1297, allocations: 0 / 430.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.1299, allocations: 23.78 kB / 430.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/0.13, allocations: 39.58 kB / 430.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.1302, allocations: 59.86 kB / 430.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.1304, allocations: 159.2 kB / 430.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1306, allocations: 37.48 kB / 430.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1308, allocations: 71.7 kB / 430.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1309, allocations: 67.7 kB / 430.7 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1309, allocations: 12 kB / 430.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.131, allocations: 24 kB / 430.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.131, allocations: 23.92 kB / 430.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.1311, allocations: 79.53 kB / 430.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1314, allocations: 171.3 kB / 431 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1314, allocations: 7.938 kB / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1314, allocations: 0 / 431 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1314, allocations: 3.938 kB / 431 MB, free: 0.7266 MB / 350.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.0006893/0.1321, allocations: 443 kB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1322, allocations: 12.02 kB / 431.5 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.1324, allocations: 24.84 kB / 431.5 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.1327, allocations: 208.2 kB / 431.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1328, allocations: 16.61 kB / 431.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1328, allocations: 8.375 kB / 431.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.133, allocations: 123.8 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.133, allocations: 0 / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1331, allocations: 0 / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1331, allocations: 4 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1333, allocations: 84.66 kB / 431.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1341, allocations: 0.6056 MB / 432.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1344, allocations: 82.62 kB / 432.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/0.1345, allocations: 28.97 kB / 432.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1345, allocations: 0 / 432.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/0.1346, allocations: 34.56 kB / 432.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1346, allocations: 0 / 432.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.000755/0.1354, allocations: 251.5 kB / 432.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1354, allocations: 63.33 kB / 433 MB, free: 14.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.1356, allocations: 149.7 kB / 433.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.1356, allocations: 25.7 kB / 433.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.1357, allocations: 124.2 kB / 433.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.1357, allocations: 23.8 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.1358, allocations: 17.72 kB / 433.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1359, allocations: 326.8 kB / 433.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.11e-05/0.136, allocations: 23.98 kB / 433.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.918e-05/0.1361, allocations: 38.56 kB / 433.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1362, allocations: 78.47 kB / 433.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1362, allocations: 4 kB / 433.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002954/0.1365, allocations: 134.3 kB / 433.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.1365, allocations: 10.19 kB / 433.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1365, allocations: 3.938 kB / 433.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001889/0.1367, allocations: 33.09 kB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.1368, allocations: 15.92 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/0.1386, allocations: 1.697 MB / 435.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.884e-05/0.1387, allocations: 7.953 kB / 435.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1387, allocations: 4 kB / 435.7 MB, free: 11.63 MB / 366.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.0001193/0.1388, allocations: 131.6 kB / 435.8 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1388, allocations: 7.953 kB / 435.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.1389, allocations: 12.78 kB / 435.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1389, allocations: 4 kB / 435.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.1389, allocations: 0 / 435.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-06/0.1389, allocations: 0 / 435.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.1391, allocations: 217.5 kB / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1391, allocations: 0 / 436.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.801e-05/0.1392, allocations: 7.984 kB / 436.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.1393, allocations: 28.97 kB / 436.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1393, allocations: 8 kB / 436.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.1408, allocations: 1.681 MB / 437.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1408, allocations: 3.938 kB / 437.8 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.1411, allocations: 212.3 kB / 438 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.1412, allocations: 85.06 kB / 438.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.1412, allocations: 0 / 438.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1413, allocations: 15.98 kB / 438.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1413, allocations: 8 kB / 438.1 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1413, allocations: 4 kB / 438.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.1414, allocations: 111.2 kB / 438.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1414, allocations: 0 / 438.2 MB, free: 8.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1418, allocations: 43.89 kB / 438.3 MB, free: 8.832 MB / 366.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.0001226/0.1419, allocations: 98.59 kB / 438.4 MB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004112/0.1423, allocations: 190.6 kB / 438.5 MB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1423, allocations: 7.875 kB / 438.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.1426, allocations: 150.8 kB / 438.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1428, allocations: 20.11 kB / 438.7 MB, free: 8.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.1434, allocations: 313.6 kB / 439 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1437, allocations: 0.7118 MB / 439.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.1438, allocations: 11.44 kB / 439.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1438, allocations: 4 kB / 439.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of Templates: time 0.003883/0.1477, allocations: 1.953 MB / 441.7 MB, free: 5.297 MB / 366.1 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/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_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: 7.533809701999417]