Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.00192/0.00192, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001973/0.001973, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.576/1.576, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.377e-05, allocations: 2.312 kB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02138/0.0214, allocations: 15.78 MB / 288 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1314/0.1528, allocations: 4.113 MB / 292.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004191/0.157, allocations: 162.9 kB / 292.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0179/0.1749, allocations: 7.947 MB / 300.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006102/0.181, allocations: 1.369 MB / 301.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.1847, allocations: 1.237 MB / 302.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008483/0.1932, allocations: 8.58 MB / 311.4 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02284/0.216, allocations: 14.27 MB / 325.7 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01567/0.2317, allocations: 7.387 MB / 333.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/0.2425, allocations: 5.216 MB / 338.3 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003995/0.2465, allocations: 1.383 MB / 339.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006132/0.2526, allocations: 1.66 MB / 341.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004383/0.257, allocations: 2.676 MB / 344 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008757/0.2657, allocations: 3.536 MB / 347.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02535/0.2911, allocations: 18.66 MB / 366.2 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2911, allocations: 0 / 366.2 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2911, allocations: 0 / 366.2 MB, free: 4.148 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004324/0.2915, allocations: 0 / 366.2 MB, free: 4.148 MB / 314.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.03572/0.3272, allocations: 12.22 MB / 378.4 MB, free: 7.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.3273, allocations: 11.98 kB / 378.4 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02281/0.3501, allocations: 4.846 MB / 383.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/0.3631, allocations: 5.072 MB / 388.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000764/0.3638, allocations: 0.6794 MB / 389 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002767/0.3666, allocations: 0.8906 MB / 389.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02771/0.3943, allocations: 11.68 MB / 401.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002/0.3945, allocations: 7.953 kB / 401.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/0.3956, allocations: 383.9 kB / 402 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000493/0.3961, allocations: 403.1 kB / 402.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/0.4232, allocations: 10.23 MB / 412.6 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3207/0.7439, allocations: 55.51 MB / 468.1 MB, free: 84.79 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007358/0.7513, allocations: 3.947 MB / 472 MB, free: 83.17 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.7529, allocations: 1.364 MB / 473.4 MB, free: 82.5 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/0.7532, allocations: 83.94 kB / 473.5 MB, free: 82.47 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.7532, allocations: 61.83 kB / 473.5 MB, free: 82.41 MB / 378.8 MB Notification: Performance of pre-optimization done (n=223): time 4.93e-06/0.7532, allocations: 0 / 473.5 MB, free: 82.41 MB / 378.8 MB Notification: Performance of matching and sorting (n=223): time 0.007197/0.7604, allocations: 4.14 MB / 477.7 MB, free: 80.36 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.7604, allocations: 73.59 kB / 477.7 MB, free: 80.29 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/0.7658, allocations: 4.541 MB / 482.3 MB, free: 76.67 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.766, allocations: 65.7 kB / 482.4 MB, free: 76.6 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001968/0.768, allocations: 4.411 MB / 486.8 MB, free: 72.85 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006491/0.7686, allocations: 0.8861 MB / 487.7 MB, free: 72.04 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001355/0.77, allocations: 1.282 MB / 488.9 MB, free: 70.74 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.77, allocations: 480.8 kB / 489.4 MB, free: 70.27 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.7719, allocations: 1.695 MB / 491.1 MB, free: 68.56 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.7749, allocations: 5.159 MB / 496.3 MB, free: 61.95 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/0.7804, allocations: 7.425 MB / 0.4919 GB, free: 53.09 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.744e-05/0.7805, allocations: 24 kB / 0.4919 GB, free: 53.07 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.008084/0.7885, allocations: 6.218 MB / 0.498 GB, free: 46.84 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.7886, allocations: 40 kB / 0.498 GB, free: 46.8 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.995e-05/0.7887, allocations: 72 kB / 0.4981 GB, free: 46.73 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.7899, allocations: 499.4 kB / 0.4986 GB, free: 46.23 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003021/0.7929, allocations: 1.068 MB / 0.4996 GB, free: 45.16 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.797, allocations: 4.807 MB / 0.5043 GB, free: 40.23 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.8003, allocations: 0.6364 MB / 0.5049 GB, free: 39.59 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005578/0.8009, allocations: 247.9 kB / 0.5051 GB, free: 39.35 MB / 378.8 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.004113/0.805, allocations: 3.184 MB / 0.5083 GB, free: 36.15 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000683/0.8057, allocations: 358.2 kB / 0.5086 GB, free: 35.8 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.8101, allocations: 3.21 MB / 0.5117 GB, free: 32.56 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002959/0.8131, allocations: 2.455 MB / 0.5141 GB, free: 30.09 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.8131, allocations: 8 kB / 0.5141 GB, free: 30.09 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.8131, allocations: 15.95 kB / 0.5142 GB, free: 30.07 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/0.8299, allocations: 11.22 MB / 0.5251 GB, free: 18.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.8299, allocations: 0 / 0.5251 GB, free: 18.82 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.8313, allocations: 423.4 kB / 0.5255 GB, free: 18.41 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.8324, allocations: 401.6 kB / 0.5259 GB, free: 18.02 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.8325, allocations: 51.98 kB / 0.5259 GB, free: 17.96 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003866/0.8363, allocations: 4.621 MB / 0.5305 GB, free: 13.23 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.8364, allocations: 3.938 kB / 0.5305 GB, free: 13.22 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005597/0.8419, allocations: 4.542 MB / 0.5349 GB, free: 8.637 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/0.8434, allocations: 0.5014 MB / 0.5354 GB, free: 8.133 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/0.8438, allocations: 47.88 kB / 0.5354 GB, free: 8.086 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.8449, allocations: 131.8 kB / 0.5356 GB, free: 7.957 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.8451, allocations: 157.6 kB / 0.5357 GB, free: 7.801 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.8453, allocations: 72 kB / 0.5358 GB, free: 7.73 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002708/0.848, allocations: 2.24 MB / 0.538 GB, free: 5.48 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.848, allocations: 0 / 0.538 GB, free: 5.48 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005035/0.853, allocations: 1.988 MB / 0.5399 GB, free: 3.484 MB / 378.8 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.000473/0.8535, allocations: 199 kB / 0.5401 GB, free: 3.285 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006965/0.8604, allocations: 4.607 MB / 0.5446 GB, free: 14.66 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.8604, allocations: 0 / 0.5446 GB, free: 14.66 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002994/0.8634, allocations: 1.644 MB / 0.5462 GB, free: 13 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.867, allocations: 0.6937 MB / 0.5469 GB, free: 12.34 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/0.8917, allocations: 12.63 MB / 0.5592 GB, free: 15.61 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006608/0.8983, allocations: 4.629 MB / 0.5637 GB, free: 10.93 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004013/0.9023, allocations: 1.459 MB / 0.5652 GB, free: 9.465 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.903, allocations: 244.4 kB / 0.5654 GB, free: 9.227 MB / 410.8 MB Notification: Performance of SimCode: time 9.32e-07/0.903, allocations: 0 / 0.5654 GB, free: 9.227 MB / 410.8 MB Notification: Performance of Templates: time 0.1957/1.099, allocations: 38.51 MB / 0.603 GB, free: 108.7 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.6090530750807375]