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.001308/0.001308, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 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.001311/0.001311, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 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.9431/0.9431, allocations: 173.4 MB / 201.1 MB, free: 9.367 MB / 186.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.673e-06/1.673e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.352e-05, allocations: 6.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01528/0.01529, allocations: 15.91 MB / 283.9 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007048/0.02234, allocations: 4.06 MB / 288 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.02372, allocations: 163.2 kB / 288.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1182/0.142, allocations: 7.962 MB / 296.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.1469, allocations: 1.528 MB / 297.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.149, allocations: 1.107 MB / 298.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007115/0.1561, allocations: 8.578 MB / 307.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01443/0.1705, allocations: 14.26 MB / 321.6 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008536/0.1791, allocations: 7.397 MB / 329 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006285/0.1854, allocations: 5.241 MB / 334.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002776/0.1881, allocations: 1.379 MB / 335.6 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.1918, allocations: 1.648 MB / 337.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.1939, allocations: 2.674 MB / 339.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005088/0.199, allocations: 3.528 MB / 343.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008227/0.2072, allocations: 8.843 MB / 352.3 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2072, allocations: 0 / 352.3 MB, free: 4.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2072, allocations: 4 kB / 352.3 MB, free: 4.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003573/0.2076, allocations: 0 / 352.3 MB, free: 4.176 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.01693/0.2245, allocations: 11.42 MB / 363.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2246, allocations: 8.031 kB / 363.7 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.2349, allocations: 4.916 MB / 368.6 MB, free: 3.855 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007758/0.2426, allocations: 4.964 MB / 373.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004603/0.2431, allocations: 0.6778 MB / 374.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00152/0.2446, allocations: 0.8919 MB / 375.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.2559, allocations: 5.554 MB / 380.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.256, allocations: 15.31 kB / 380.7 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005528/0.2566, allocations: 378.6 kB / 381.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002503/0.2568, allocations: 399.1 kB / 381.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007709/0.2646, allocations: 3.43 MB / 384.9 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04523/0.3098, allocations: 35.72 MB / 420.6 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004361/0.3141, allocations: 3.33 MB / 424 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008978/0.315, allocations: 0.6692 MB / 424.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.3152, allocations: 73.97 kB / 424.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3152, allocations: 58.77 kB / 424.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.458e-06/0.3152, allocations: 0 / 424.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004214/0.3195, allocations: 2.434 MB / 427.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3195, allocations: 76.78 kB / 427.3 MB, free: 9.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.3232, allocations: 3.031 MB / 430.3 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.3234, allocations: 65.7 kB / 430.4 MB, free: 6.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/0.3255, allocations: 4.225 MB / 434.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009448/0.3265, allocations: 0.8477 MB / 435.4 MB, free: 1.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2381/0.5646, allocations: 1.105 MB / 436.5 MB, free: 92.33 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.5646, allocations: 479.9 kB / 437 MB, free: 91.86 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.5664, allocations: 0.6106 MB / 437.6 MB, free: 91.84 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.5686, allocations: 3.928 MB / 441.6 MB, free: 87.78 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.5721, allocations: 4.983 MB / 446.5 MB, free: 83.69 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.107e-05/0.5722, allocations: 24.72 kB / 446.6 MB, free: 83.69 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005316/0.5775, allocations: 3.961 MB / 450.5 MB, free: 83.54 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.5775, allocations: 38.53 kB / 450.6 MB, free: 83.54 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.215e-05/0.5776, allocations: 73.94 kB / 450.6 MB, free: 83.54 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.5783, allocations: 385.7 kB / 451 MB, free: 83.5 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.5799, allocations: 1.062 MB / 452.1 MB, free: 83.5 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.5823, allocations: 3.47 MB / 455.5 MB, free: 81.53 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.5841, allocations: 0.6344 MB / 456.2 MB, free: 81.53 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.5843, allocations: 252.9 kB / 456.4 MB, free: 81.52 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.001437/0.5857, allocations: 488.6 kB / 456.9 MB, free: 81.36 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.5861, allocations: 361.6 kB / 457.2 MB, free: 81.34 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.5883, allocations: 2.033 MB / 459.3 MB, free: 81.16 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00143/0.5897, allocations: 1.291 MB / 460.6 MB, free: 81.05 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.5897, allocations: 7 kB / 460.6 MB, free: 81.05 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.5897, allocations: 9.656 kB / 460.6 MB, free: 81.05 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009263/0.599, allocations: 7.833 MB / 468.4 MB, free: 80.39 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.599, allocations: 8.469 kB / 468.4 MB, free: 80.39 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008587/0.5999, allocations: 410.1 kB / 468.8 MB, free: 80.39 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000631/0.6005, allocations: 293.1 kB / 469.1 MB, free: 80.36 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.6006, allocations: 48.56 kB / 469.2 MB, free: 80.36 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6027, allocations: 3.321 MB / 472.5 MB, free: 78.32 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6027, allocations: 3.5 kB / 472.5 MB, free: 78.32 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.6055, allocations: 2.436 MB / 474.9 MB, free: 77.8 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.6062, allocations: 0.5009 MB / 475.4 MB, free: 77.65 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6063, allocations: 37.25 kB / 475.5 MB, free: 77.65 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.6069, allocations: 136.4 kB / 475.6 MB, free: 77.65 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.6071, allocations: 146.5 kB / 475.7 MB, free: 77.65 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-05/0.6072, allocations: 71.08 kB / 475.8 MB, free: 77.65 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001344/0.6085, allocations: 1.251 MB / 477.1 MB, free: 77.46 MB / 378.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6085, allocations: 3.562 kB / 477.1 MB, free: 77.46 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003776/0.6123, allocations: 1.999 MB / 479.1 MB, free: 77.14 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.0003574/0.6126, allocations: 208.9 kB / 479.3 MB, free: 77.05 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003595/0.6162, allocations: 2.832 MB / 482.1 MB, free: 76.33 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6162, allocations: 0 / 482.1 MB, free: 76.33 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6172, allocations: 1.104 MB / 483.2 MB, free: 75.38 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.619, allocations: 0.6723 MB / 483.9 MB, free: 74.86 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.6327, allocations: 11.45 MB / 495.3 MB, free: 64.31 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/0.6344, allocations: 2.287 MB / 497.6 MB, free: 62.61 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002208/0.6366, allocations: 1.455 MB / 499.1 MB, free: 61.76 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.637, allocations: 232.3 kB / 499.3 MB, free: 61.54 MB / 378.8 MB Notification: Performance of SimCode: time 1.473e-06/0.637, allocations: 0 / 499.3 MB, free: 61.54 MB / 378.8 MB Notification: Performance of Templates: time 0.04796/0.685, allocations: 40.48 MB / 0.5271 GB, free: 22.36 MB / 378.8 MB " [Timeout remaining time 659] 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8818115890026093]