Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001619/0.002834, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001524/0.002523, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8543/0.8543, allocations: 173.4 MB / 185.9 MB, free: 8.91 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07197/0.9263, allocations: 52.5 MB / 238.4 MB, free: 4.355 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 239.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.866e-05, allocations: 3.438 kB / 239.7 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01631/0.01633, allocations: 15.47 MB / 255.2 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009466/0.02579, allocations: 4.346 MB / 259.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.02812, allocations: 163.2 kB / 259.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00737/0.03549, allocations: 7.906 MB / 267.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.03857, allocations: 1.529 MB / 269.1 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.03997, allocations: 1.087 MB / 270.2 MB, free: 4.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.105/0.145, allocations: 8.642 MB / 278.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01548/0.1604, allocations: 14.43 MB / 293.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007377/0.1678, allocations: 7.556 MB / 300.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004883/0.1727, allocations: 5.324 MB / 306.2 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002302/0.175, allocations: 1.379 MB / 307.6 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.1774, allocations: 1.642 MB / 309.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.1788, allocations: 2.104 MB / 311.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005359/0.1841, allocations: 3.268 MB / 314.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.191, allocations: 8.386 MB / 323 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.191, allocations: 0.6875 kB / 323 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.191, allocations: 0 / 323 MB, free: 7.652 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003155/0.1913, allocations: 0.5625 kB / 323 MB, free: 7.652 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.01448/0.2058, allocations: 12.1 MB / 335.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.2059, allocations: 12.03 kB / 335.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00851/0.2144, allocations: 3.776 MB / 338.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/0.2186, allocations: 2.626 MB / 341.5 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/0.219, allocations: 0.6785 MB / 342.2 MB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000958/0.2199, allocations: 0.9028 MB / 343.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008022/0.228, allocations: 6.076 MB / 349.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/0.2281, allocations: 4 kB / 349.2 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005379/0.2286, allocations: 378.4 kB / 349.5 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002381/0.2289, allocations: 391.1 kB / 349.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.2326, allocations: 2.353 MB / 352.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.2595, allocations: 27.07 MB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.2624, allocations: 2.466 MB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/0.2629, allocations: 490.8 kB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.2631, allocations: 69.95 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.2631, allocations: 56.56 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 4.809e-06/0.2631, allocations: 4 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002725/0.2658, allocations: 1.72 MB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.2659, allocations: 73.41 kB / 384.2 MB, free: 11.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/0.2673, allocations: 1.966 MB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-05/0.2674, allocations: 61.7 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.2688, allocations: 3.762 MB / 390 MB, free: 6.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.2692, allocations: 0.8235 MB / 390.8 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009263/0.2701, allocations: 0.8673 MB / 391.7 MB, free: 5.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.2702, allocations: 313 kB / 392 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006655/0.2708, allocations: 0.6324 MB / 392.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.2722, allocations: 2.622 MB / 395.2 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002857/0.275, allocations: 3.901 MB / 399.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/0.2751, allocations: 20 kB / 399.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.002975/0.278, allocations: 2.98 MB / 402.1 MB, free: 9.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.2781, allocations: 36 kB / 402.2 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.755e-05/0.2781, allocations: 76 kB / 402.2 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.2787, allocations: 346.3 kB / 402.6 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.2804, allocations: 1.098 MB / 403.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.2825, allocations: 2.531 MB / 406.2 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.2838, allocations: 0.539 MB / 406.7 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.284, allocations: 208 kB / 406.9 MB, free: 4.793 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001104/0.2851, allocations: 453.7 kB / 407.4 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.2854, allocations: 227.8 kB / 407.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.2871, allocations: 1.556 MB / 409.2 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008463/0.2879, allocations: 0.8249 MB / 410 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2879, allocations: 4 kB / 410 MB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.288, allocations: 11.95 kB / 410 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006012/0.294, allocations: 5.553 MB / 415.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.294, allocations: 0 / 415.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/0.2948, allocations: 393.9 kB / 415.9 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.2952, allocations: 345.5 kB / 416.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004724/0.2957, allocations: 257.6 kB / 416.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/0.2958, allocations: 47.98 kB / 416.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.2975, allocations: 2.333 MB / 418.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2975, allocations: 4 kB / 418.9 MB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.2993, allocations: 1.735 MB / 420.7 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.2995, allocations: 36 kB / 420.7 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.2999, allocations: 59.98 kB / 420.7 MB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/0.3002, allocations: 145.6 kB / 420.9 MB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.239e-05/0.3003, allocations: 52.02 kB / 420.9 MB, free: 7.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006844/0.301, allocations: 0.8445 MB / 421.8 MB, free: 7.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.301, allocations: 0 / 421.8 MB, free: 7.027 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003053/0.304, allocations: 1.988 MB / 423.8 MB, free: 5.031 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * 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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003138/0.3043, allocations: 202.1 kB / 424 MB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.3065, allocations: 2.274 MB / 426.2 MB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001165/0.3066, allocations: 80.66 kB / 426.3 MB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.3078, allocations: 1.268 MB / 427.6 MB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09273/0.4005, allocations: 5.417 MB / 433 MB, free: 108.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04062/0.4411, allocations: 12.38 MB / 445.4 MB, free: 104.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001592/0.4427, allocations: 1.64 MB / 447 MB, free: 104 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001298/0.444, allocations: 455.1 kB / 447.5 MB, free: 104 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.4448, allocations: 0.583 MB / 448.1 MB, free: 104 MB / 394.7 MB Notification: Performance of SimCode: time 2.134e-06/0.4448, allocations: 0 / 448.1 MB, free: 104 MB / 394.7 MB Notification: Performance of Templates: time 0.05088/0.4957, allocations: 41.43 MB / 489.5 MB, free: 79.15 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1826914893463254]