Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001139, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009106, allocations: 97.95 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008483/0.0008483, allocations: 39.94 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2593, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.005957/0.2653, allocations: 5.982 MB / 405.4 MB, free: 27.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.2688, allocations: 1.594 MB / 407 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006018/0.2695, allocations: 51.81 kB / 407.1 MB, free: 25.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005048/0.27, allocations: 246.3 kB / 407.3 MB, free: 25.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009088/0.2709, allocations: 306.2 kB / 407.6 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000495/0.2714, allocations: 311.7 kB / 407.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.2728, allocations: 2.153 MB / 410.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.2747, allocations: 2.275 MB / 412.4 MB, free: 20.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.2755, allocations: 0.9148 MB / 413.3 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.2766, allocations: 1.156 MB / 414.4 MB, free: 18.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002385/0.2768, allocations: 208 kB / 414.6 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00057/0.2774, allocations: 387.5 kB / 415 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003807/0.2778, allocations: 0.6193 MB / 415.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008246/0.2786, allocations: 1.143 MB / 416.8 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.2808, allocations: 3.689 MB / 420.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2808, allocations: 0 / 420.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2808, allocations: 4 kB / 420.5 MB, free: 12.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.962e-05/0.2808, allocations: 4 kB / 420.5 MB, free: 12.23 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.003891/0.2847, allocations: 2.454 MB / 422.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2848, allocations: 12.03 kB / 422.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.2853, allocations: 238.1 kB / 423.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.2871, allocations: 1.263 MB / 424.4 MB, free: 8.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.2872, allocations: 168.9 kB / 424.6 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.2874, allocations: 220.1 kB / 424.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/0.2907, allocations: 2.545 MB / 427.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.2907, allocations: 0 / 427.4 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.2909, allocations: 88 kB / 427.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-05/0.2909, allocations: 60 kB / 427.5 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/0.2936, allocations: 2.145 MB / 429.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.3041, allocations: 7.596 MB / 437.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.3053, allocations: 1.265 MB / 438.5 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009465/0.3063, allocations: 0.6102 MB / 439.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.3064, allocations: 12.56 kB / 439.1 MB, free: 9.043 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.3064, allocations: 39.11 kB / 439.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 3.516e-06/0.3064, allocations: 0 / 439.2 MB, free: 8.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.003841/0.3103, allocations: 2.431 MB / 441.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3103, allocations: 63.97 kB / 441.7 MB, free: 6.434 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.3115, allocations: 0.7894 MB / 442.5 MB, free: 5.637 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.3116, allocations: 37.7 kB / 442.5 MB, free: 5.594 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005714/0.3121, allocations: 0.9098 MB / 443.4 MB, free: 4.668 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3123, allocations: 224.8 kB / 443.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.3125, allocations: 150.5 kB / 443.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3127, allocations: 390.7 kB / 444.2 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.3133, allocations: 365.8 kB / 444.5 MB, free: 3.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.314, allocations: 0.5829 MB / 445.1 MB, free: 2.863 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.3152, allocations: 0.9854 MB / 446.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/0.3152, allocations: 4 kB / 446.1 MB, free: 1.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001758/0.317, allocations: 1.151 MB / 447.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.317, allocations: 11.94 kB / 447.2 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3171, allocations: 8 kB / 447.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.3174, allocations: 105 kB / 447.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.318, allocations: 175.7 kB / 447.5 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/0.3201, allocations: 2.138 MB / 449.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.3207, allocations: 39.97 kB / 449.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.308e-05/0.3208, allocations: 35.98 kB / 449.7 MB, free: 13.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001035/0.3218, allocations: 0.6535 MB / 450.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.322, allocations: 79.06 kB / 450.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.3222, allocations: 95.56 kB / 450.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.3222, allocations: 11.94 kB / 450.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.3223, allocations: 0 / 450.6 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3223, allocations: 7.984 kB / 450.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/0.3264, allocations: 2.662 MB / 453.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.3265, allocations: 7.984 kB / 453.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004417/0.3269, allocations: 103.9 kB / 453.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.3272, allocations: 109 kB / 453.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.3272, allocations: 15.98 kB / 453.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.3292, allocations: 2.065 MB / 455.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3292, allocations: 4.031 kB / 455.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007731/0.3369, allocations: 6.374 MB / 461.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.3374, allocations: 224.1 kB / 462.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.808e-05/0.3375, allocations: 12 kB / 462.1 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.3379, allocations: 44.08 kB / 462.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.338, allocations: 52.42 kB / 462.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.3381, allocations: 16 kB / 462.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006738/0.3388, allocations: 0.5615 MB / 462.8 MB, free: 344 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3388, allocations: 0 / 462.8 MB, free: 344 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001408/0.3402, allocations: 364 kB / 463.2 MB, free: 15.98 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/0.3405, allocations: 143.1 kB / 463.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.3421, allocations: 0.9983 MB / 464.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3421, allocations: 3.984 kB / 464.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.343, allocations: 0.5536 MB / 464.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.344, allocations: 214.3 kB / 465.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006354/0.3504, allocations: 4.695 MB / 469.8 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3517, allocations: 1.748 MB / 471.5 MB, free: 7.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006473/0.3524, allocations: 203.1 kB / 471.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.3526, allocations: 59.42 kB / 471.8 MB, free: 7.227 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3526, allocations: 3.938 kB / 471.8 MB, free: 7.223 MB / 346.7 MB Notification: Performance of Templates: time 0.02502/0.3776, allocations: 12.67 MB / 484.5 MB, free: 10.7 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches