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.001417/0.001417, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001612/0.001612, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9793/0.9793, allocations: 177.2 MB / 205 MB, free: 5.574 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.893e-06/1.893e-06, allocations: 0 / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.15e-05/3.339e-05, allocations: 2.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01555/0.01558, allocations: 15.93 MB / 288.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1475/0.1631, allocations: 4.107 MB / 293 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.1653, allocations: 161.4 kB / 293.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008911/0.1743, allocations: 7.984 MB / 301.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.1784, allocations: 1.372 MB / 302.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.1807, allocations: 1.234 MB / 303.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006481/0.1871, allocations: 8.579 MB / 312.3 MB, free: 7.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.2027, allocations: 14.27 MB / 326.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009903/0.2126, allocations: 7.394 MB / 334 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006935/0.2196, allocations: 5.25 MB / 339.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003287/0.2228, allocations: 1.387 MB / 340.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/0.2264, allocations: 1.656 MB / 342.3 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.2281, allocations: 2.681 MB / 345 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005736/0.2339, allocations: 3.527 MB / 348.5 MB, free: 6.574 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009142/0.243, allocations: 8.886 MB / 357.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.243, allocations: 0 / 357.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.243, allocations: 0 / 357.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003418/0.2434, allocations: 0 / 357.4 MB, free: 13.65 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.01552/0.2589, allocations: 11.42 MB / 368.8 MB, free: 2.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.2589, allocations: 8.031 kB / 368.8 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.2691, allocations: 4.838 MB / 373.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005672/0.2747, allocations: 5.076 MB / 378.7 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.275, allocations: 0.6794 MB / 379.4 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008683/0.2759, allocations: 0.8906 MB / 380.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.2879, allocations: 5.575 MB / 385.9 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.288, allocations: 7.953 kB / 385.9 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007514/0.2888, allocations: 376 kB / 386.3 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003264/0.2891, allocations: 399.1 kB / 386.7 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009934/0.299, allocations: 3.454 MB / 390.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/0.3441, allocations: 35.75 MB / 425.9 MB, free: 7.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004489/0.3486, allocations: 3.363 MB / 429.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/0.3494, allocations: 0.6666 MB / 429.9 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.3496, allocations: 85.94 kB / 430 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.3496, allocations: 59.39 kB / 430 MB, free: 3.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=223): time 4.168e-06/0.3497, allocations: 0 / 430 MB, free: 3.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=223): time 0.004194/0.3538, allocations: 2.449 MB / 432.5 MB, free: 1.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3539, allocations: 77.41 kB / 432.6 MB, free: 1.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2526/0.6065, allocations: 3.021 MB / 435.6 MB, free: 91.86 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004119/0.6069, allocations: 62.3 kB / 435.6 MB, free: 91.83 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/0.609, allocations: 4.224 MB / 439.9 MB, free: 90.36 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006218/0.6097, allocations: 0.8454 MB / 440.7 MB, free: 89.95 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/0.6108, allocations: 1.119 MB / 441.8 MB, free: 89.84 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.507e-05/0.6109, allocations: 480.2 kB / 442.3 MB, free: 89.37 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.6119, allocations: 0.6188 MB / 442.9 MB, free: 89.36 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.6139, allocations: 3.931 MB / 446.8 MB, free: 85.29 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.6172, allocations: 4.993 MB / 451.8 MB, free: 81.2 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.395e-05/0.6172, allocations: 24.97 kB / 451.9 MB, free: 81.2 MB / 378.8 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.004502/0.6217, allocations: 3.981 MB / 455.8 MB, free: 80.89 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.6218, allocations: 43.31 kB / 455.9 MB, free: 80.88 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/0.6218, allocations: 73.84 kB / 456 MB, free: 80.88 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.6225, allocations: 381.1 kB / 456.3 MB, free: 80.86 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.6242, allocations: 1.066 MB / 457.4 MB, free: 80.86 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.6265, allocations: 3.471 MB / 460.9 MB, free: 78.84 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.6283, allocations: 0.6289 MB / 461.5 MB, free: 78.64 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.6285, allocations: 251.8 kB / 461.7 MB, free: 78.64 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.001535/0.6301, allocations: 499.7 kB / 462.2 MB, free: 78.43 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.6304, allocations: 357.9 kB / 462.6 MB, free: 78.28 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.6327, allocations: 2.036 MB / 464.6 MB, free: 78.08 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001884/0.6346, allocations: 1.306 MB / 465.9 MB, free: 77.97 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6346, allocations: 3.875 kB / 465.9 MB, free: 77.97 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.6346, allocations: 17.62 kB / 465.9 MB, free: 77.97 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008637/0.6433, allocations: 7.833 MB / 473.8 MB, free: 76.71 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.6433, allocations: 6.938 kB / 473.8 MB, free: 76.71 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/0.6441, allocations: 416.4 kB / 474.2 MB, free: 76.7 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/0.6446, allocations: 294.8 kB / 474.5 MB, free: 76.64 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.928e-05/0.6447, allocations: 54.14 kB / 474.5 MB, free: 76.61 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.6467, allocations: 3.311 MB / 477.8 MB, free: 74.02 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6467, allocations: 3 kB / 477.8 MB, free: 74.02 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.6494, allocations: 2.453 MB / 480.3 MB, free: 73.09 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006417/0.65, allocations: 0.5065 MB / 480.8 MB, free: 72.66 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.6502, allocations: 40 kB / 480.8 MB, free: 72.62 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.6507, allocations: 129.6 kB / 481 MB, free: 72.54 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.6509, allocations: 161.1 kB / 481.1 MB, free: 72.46 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/0.651, allocations: 67.88 kB / 481.2 MB, free: 72.4 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001178/0.6521, allocations: 1.254 MB / 482.4 MB, free: 71.33 MB / 378.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6521, allocations: 4 kB / 482.4 MB, free: 71.33 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003574/0.6557, allocations: 1.988 MB / 484.4 MB, free: 69.33 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.0003423/0.6561, allocations: 209.9 kB / 484.6 MB, free: 69.15 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003146/0.6592, allocations: 2.85 MB / 487.5 MB, free: 66.81 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6592, allocations: 0 / 487.5 MB, free: 66.81 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.6602, allocations: 1.104 MB / 488.6 MB, free: 65.86 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.6617, allocations: 0.6939 MB / 489.3 MB, free: 65.34 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.6734, allocations: 11.39 MB / 0.4889 GB, free: 54.82 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.6748, allocations: 2.288 MB / 0.4912 GB, free: 52.74 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001959/0.6767, allocations: 1.463 MB / 0.4926 GB, free: 51.27 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003969/0.6771, allocations: 240.5 kB / 0.4928 GB, free: 51.04 MB / 378.8 MB Notification: Performance of SimCode: time 2.134e-06/0.6771, allocations: 0 / 0.4928 GB, free: 51.04 MB / 378.8 MB Notification: Performance of Templates: time 0.04737/0.7245, allocations: 38.56 MB / 0.5305 GB, free: 13.05 MB / 378.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=240 -emit_protected -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: 4.375769361387938]