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.0007884/0.0007884, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001802, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006985/0.0006985, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008325/0.001531, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9484/0.9484, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08069/1.029, allocations: 53.64 MB / 243.3 MB, free: 15.57 MB / 250.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.192e-06/1.192e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.503e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01171/0.01173, allocations: 15.49 MB / 260 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007649/0.01938, allocations: 4.412 MB / 264.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.02185, allocations: 159.2 kB / 264.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007984/0.02984, allocations: 7.913 MB / 272.5 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004141/0.03398, allocations: 1.374 MB / 273.9 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.115/0.1489, allocations: 1.219 MB / 275.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009003/0.1579, allocations: 8.647 MB / 283.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02316/0.1811, allocations: 14.43 MB / 298.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01214/0.1932, allocations: 7.562 MB / 305.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00917/0.2024, allocations: 5.415 MB / 311.1 MB, free: 0 / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003633/0.206, allocations: 1.405 MB / 312.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004906/0.211, allocations: 1.674 MB / 314.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002532/0.2135, allocations: 2.103 MB / 316.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006195/0.2197, allocations: 2.952 MB / 319.3 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.2304, allocations: 8.426 MB / 327.7 MB, free: 4 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.768e-05/0.2304, allocations: 4.438 kB / 327.7 MB, free: 0 / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2304, allocations: 0.9688 kB / 327.7 MB, free: 0 / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004205/0.2308, allocations: 0 / 327.7 MB, free: 0 / 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.01719/0.248, allocations: 12.11 MB / 339.8 MB, free: 4.406 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2481, allocations: 11.98 kB / 339.8 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00921/0.2573, allocations: 3.747 MB / 343.6 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005007/0.2623, allocations: 2.633 MB / 346.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006632/0.2629, allocations: 0.6803 MB / 346.9 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.2641, allocations: 0.8917 MB / 347.8 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009148/0.2732, allocations: 6.098 MB / 353.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.2733, allocations: 8 kB / 353.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008104/0.2742, allocations: 375.7 kB / 354.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/0.2744, allocations: 399.1 kB / 354.6 MB, free: 5.863 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004067/0.2785, allocations: 2.365 MB / 357 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03101/0.3095, allocations: 27.11 MB / 384.1 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.3126, allocations: 2.455 MB / 386.6 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.3131, allocations: 0.4938 MB / 387.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.3132, allocations: 81.94 kB / 387.1 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.3133, allocations: 60.12 kB / 387.2 MB, free: 6.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=223): time 3.366e-06/0.3133, allocations: 0 / 387.2 MB, free: 6.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=223): time 0.002879/0.3162, allocations: 1.729 MB / 388.9 MB, free: 4.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.3162, allocations: 77.41 kB / 389 MB, free: 4.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.3177, allocations: 1.965 MB / 391 MB, free: 2.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.861e-05/0.3178, allocations: 61.7 kB / 391 MB, free: 2.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.3195, allocations: 3.761 MB / 394.8 MB, free: 14.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/0.3199, allocations: 0.8219 MB / 395.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007151/0.3206, allocations: 0.8796 MB / 396.5 MB, free: 13.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.902e-05/0.3207, allocations: 305.1 kB / 396.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000715/0.3214, allocations: 0.6441 MB / 397.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.323, allocations: 2.618 MB / 400.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00253/0.3255, allocations: 3.657 MB / 403.7 MB, free: 4.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-05/0.3255, allocations: 20 kB / 403.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.003317/0.3289, allocations: 2.993 MB / 406.7 MB, free: 2.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.3289, allocations: 36 kB / 406.8 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.415e-05/0.3289, allocations: 76 kB / 406.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005545/0.3295, allocations: 342.8 kB / 407.2 MB, free: 1.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001733/0.3312, allocations: 1.111 MB / 408.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.3331, allocations: 2.521 MB / 410.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.3346, allocations: 0.5351 MB / 411.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.3348, allocations: 212 kB / 411.5 MB, free: 13.32 MB / 394.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.001351/0.3362, allocations: 451 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.3365, allocations: 223.8 kB / 412.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001841/0.3383, allocations: 1.551 MB / 413.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000867/0.3392, allocations: 0.8246 MB / 414.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3392, allocations: 4 kB / 414.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.3392, allocations: 11.95 kB / 414.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006105/0.3453, allocations: 5.57 MB / 420.2 MB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3453, allocations: 4 kB / 420.2 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008389/0.3462, allocations: 400.2 kB / 420.6 MB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005011/0.3467, allocations: 349.5 kB / 420.9 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.3471, allocations: 255.8 kB / 421.1 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002043/0.3473, allocations: 51.95 kB / 421.2 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001709/0.349, allocations: 2.327 MB / 423.5 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.349, allocations: 7.469 kB / 423.5 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3509, allocations: 1.735 MB / 425.3 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.3511, allocations: 43.98 kB / 425.3 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004482/0.3515, allocations: 48 kB / 425.4 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3517, allocations: 153.7 kB / 425.5 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.3518, allocations: 47.98 kB / 425.6 MB, free: 284 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.1165/0.4683, allocations: 0.8365 MB / 426.4 MB, free: 97.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4683, allocations: 1.156 kB / 426.4 MB, free: 97.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003803/0.4721, allocations: 1.987 MB / 428.4 MB, free: 97.7 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.0003359/0.4725, allocations: 186.6 kB / 428.6 MB, free: 97.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0028/0.4753, allocations: 2.208 MB / 430.8 MB, free: 97.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001552/0.4754, allocations: 80.97 kB / 430.9 MB, free: 97.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008723/0.4763, allocations: 0.8556 MB / 431.7 MB, free: 97.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.4781, allocations: 0.8916 MB / 432.6 MB, free: 97.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04095/0.5191, allocations: 12.35 MB / 445 MB, free: 92.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.5207, allocations: 1.652 MB / 446.6 MB, free: 92.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001442/0.5221, allocations: 484.5 kB / 447.1 MB, free: 92.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.5232, allocations: 0.6472 MB / 447.7 MB, free: 92.22 MB / 394.7 MB Notification: Performance of SimCode: time 2.104e-06/0.5232, allocations: 4 kB / 447.7 MB, free: 92.21 MB / 394.7 MB Notification: Performance of Templates: time 0.0545/0.5777, allocations: 44.23 MB / 492 MB, free: 64.86 MB / 394.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] 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","",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.711969543248415]