Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.0009295/0.0009295, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004266/0.004266, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8492/0.8492, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.041e-05, allocations: 6.219 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01098/0.011, allocations: 14.28 MB / 340.1 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006421/0.01742, allocations: 4.032 MB / 344.1 MB, free: 13.03 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.01857, allocations: 159.2 kB / 344.3 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006544/0.02511, allocations: 7.345 MB / 351.6 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.02824, allocations: 1.366 MB / 353 MB, free: 4.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.03004, allocations: 1.219 MB / 354.2 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005968/0.03601, allocations: 8.573 MB / 362.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0132/0.04921, allocations: 14.27 MB / 377.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006623/0.05584, allocations: 7.329 MB / 384.4 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004063/0.0599, allocations: 4.632 MB / 389 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.06148, allocations: 1.383 MB / 390.4 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.0634, allocations: 1.663 MB / 392.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.0647, allocations: 2.626 MB / 394.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002787/0.06748, allocations: 3.486 MB / 398.2 MB, free: 6.699 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.07879, allocations: 18.53 MB / 416.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.0788, allocations: 0 / 416.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.0788, allocations: 0 / 416.7 MB, free: 4.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002682/0.07907, allocations: 4 kB / 416.7 MB, free: 4.113 MB / 378.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.01646/0.09552, allocations: 10.47 MB / 427.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.09557, allocations: 8.031 kB / 427.2 MB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008783/0.1044, allocations: 3.714 MB / 430.9 MB, free: 5.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006675/0.111, allocations: 5.429 MB / 436.4 MB, free: 356 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.1113, allocations: 0.6828 MB / 437 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008884/0.1122, allocations: 0.8905 MB / 437.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.1272, allocations: 12.81 MB / 450.7 MB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.1273, allocations: 7.953 kB / 450.7 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005596/0.1279, allocations: 376 kB / 451.1 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002285/0.1281, allocations: 403.1 kB / 451.5 MB, free: 1.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2746/0.4028, allocations: 11.4 MB / 462.9 MB, free: 102.1 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02892/0.4317, allocations: 37.39 MB / 0.4886 GB, free: 65.4 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004059/0.4357, allocations: 4.169 MB / 0.4926 GB, free: 61.5 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/0.4369, allocations: 1.533 MB / 0.4941 GB, free: 59.97 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.4371, allocations: 73.92 kB / 0.4942 GB, free: 59.89 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4371, allocations: 60.5 kB / 0.4943 GB, free: 59.83 MB / 410.8 MB Notification: Performance of pre-optimization done (n=223): time 4.008e-06/0.4371, allocations: 0 / 0.4943 GB, free: 59.83 MB / 410.8 MB Notification: Performance of matching and sorting (n=223): time 0.004733/0.4418, allocations: 4.599 MB / 0.4988 GB, free: 55.24 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.4419, allocations: 73.41 kB / 0.4988 GB, free: 55.16 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.4441, allocations: 3.038 MB / 0.5018 GB, free: 52.2 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.4441, allocations: 62.36 kB / 0.5018 GB, free: 52.13 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.4452, allocations: 3.971 MB / 0.5057 GB, free: 48.52 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000308/0.4455, allocations: 0.8165 MB / 0.5065 GB, free: 47.71 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007227/0.4462, allocations: 0.9527 MB / 0.5075 GB, free: 46.75 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.893e-05/0.4462, allocations: 305.1 kB / 0.5077 GB, free: 46.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4477, allocations: 1.976 MB / 0.5097 GB, free: 44.46 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002127/0.4498, allocations: 4.173 MB / 0.5138 GB, free: 39.23 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003839/0.4537, allocations: 6.513 MB / 0.5201 GB, free: 31.67 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.4537, allocations: 27.94 kB / 0.5201 GB, free: 31.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.005118/0.4588, allocations: 6.516 MB / 0.5265 GB, free: 25.12 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.4588, allocations: 36 kB / 0.5265 GB, free: 25.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.763e-05/0.4589, allocations: 76.19 kB / 0.5266 GB, free: 25.01 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005047/0.4594, allocations: 416.5 kB / 0.527 GB, free: 24.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.4609, allocations: 1.065 MB / 0.528 GB, free: 23.53 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/0.4636, allocations: 4.178 MB / 0.5321 GB, free: 19.25 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4651, allocations: 0.6286 MB / 0.5327 GB, free: 18.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.4653, allocations: 256 kB / 0.533 GB, free: 18.36 MB / 410.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.003333/0.4686, allocations: 3.369 MB / 0.5363 GB, free: 14.98 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.4688, allocations: 290.1 kB / 0.5365 GB, free: 14.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.4718, allocations: 3.584 MB / 0.54 GB, free: 11.08 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002205/0.474, allocations: 2.803 MB / 0.5428 GB, free: 8.273 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.474, allocations: 4 kB / 0.5428 GB, free: 8.27 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.474, allocations: 11.95 kB / 0.5428 GB, free: 8.258 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/0.4813, allocations: 8 MB / 0.5506 GB, free: 248 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.4813, allocations: 4 kB / 0.5506 GB, free: 244 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.4821, allocations: 415.4 kB / 0.551 GB, free: 15.83 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/0.4825, allocations: 317.1 kB / 0.5513 GB, free: 15.52 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/0.4826, allocations: 51.97 kB / 0.5514 GB, free: 15.47 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.4859, allocations: 4.001 MB / 0.5553 GB, free: 11.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4859, allocations: 0 / 0.5553 GB, free: 11.38 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/0.491, allocations: 5.132 MB / 0.5603 GB, free: 6.207 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006545/0.4917, allocations: 0.5599 MB / 0.5608 GB, free: 5.645 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.4918, allocations: 36 kB / 0.5609 GB, free: 5.609 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/0.4923, allocations: 131.9 kB / 0.561 GB, free: 5.48 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.4925, allocations: 161.6 kB / 0.5611 GB, free: 5.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/0.4926, allocations: 67.98 kB / 0.5612 GB, free: 5.254 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001699/0.4943, allocations: 1.947 MB / 0.5631 GB, free: 3.293 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4943, allocations: 3.938 kB / 0.5631 GB, free: 3.289 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.003372/0.4977, allocations: 1.988 MB / 0.5651 GB, free: 1.293 MB / 426.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.0003161/0.498, allocations: 209 kB / 0.5653 GB, free: 1.086 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004546/0.5025, allocations: 4.446 MB / 0.5696 GB, free: 12.63 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5025, allocations: 1.875 kB / 0.5696 GB, free: 12.63 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.504, allocations: 1.622 MB / 0.5712 GB, free: 11 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.5056, allocations: 0.664 MB / 0.5718 GB, free: 10.35 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.5216, allocations: 13.2 MB / 0.5847 GB, free: 13.09 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003887/0.5255, allocations: 5.004 MB / 0.5896 GB, free: 8.039 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007285/0.5262, allocations: 280.4 kB / 0.5899 GB, free: 7.762 MB / 458.8 MB Notification: Performance of SimCode: time 1.333e-06/0.5262, allocations: 0 / 0.5899 GB, free: 7.762 MB / 458.8 MB Notification: Performance of Templates: time 0.266/0.7922, allocations: 135.9 MB / 0.7226 GB, free: 86.69 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 10.240671950392425]