Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 108.4 kB / 18.34 MB, free: 4.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 186.9 kB / 19.28 MB, free: 3.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 55.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09631, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007396/0.1037, allocations: 5.96 MB / 334.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.1075, allocations: 1.675 MB / 336.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006664/0.1082, allocations: 43.81 kB / 336.4 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000652/0.1089, allocations: 305.5 kB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.1101, allocations: 369.5 kB / 337.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.1109, allocations: 355.5 kB / 337.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001955/0.1128, allocations: 2.013 MB / 339.4 MB, free: 9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.1159, allocations: 2.707 MB / 342.1 MB, free: 6.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.1172, allocations: 1.036 MB / 343.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.1188, allocations: 1.195 MB / 344.4 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004166/0.1192, allocations: 308 kB / 344.7 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000779/0.12, allocations: 479.6 kB / 345.1 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006575/0.1207, allocations: 0.7325 MB / 345.9 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.1222, allocations: 1.256 MB / 347.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003645/0.1258, allocations: 3.793 MB / 350.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1259, allocations: 4 kB / 350.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1259, allocations: 0 / 350.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.365e-05/0.126, allocations: 0 / 350.9 MB, free: 13.42 MB / 302.1 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.004645/0.1306, allocations: 2.458 MB / 353.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1307, allocations: 15.89 kB / 353.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.1313, allocations: 242.1 kB / 353.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.1334, allocations: 1.174 MB / 354.8 MB, free: 9.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.1335, allocations: 168.9 kB / 355 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.1339, allocations: 224 kB / 355.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005011/0.1389, allocations: 2.542 MB / 357.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.139, allocations: 0 / 357.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.1392, allocations: 96 kB / 357.8 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.82e-05/0.1393, allocations: 59.94 kB / 357.9 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.1431, allocations: 2.137 MB / 360 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.156, allocations: 7.471 MB / 367.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.1573, allocations: 1.255 MB / 368.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000988/0.1583, allocations: 0.618 MB / 369.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.1584, allocations: 8.562 kB / 369.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1585, allocations: 47.05 kB / 369.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of pre-optimization done (n=63): time 3.617e-06/0.1585, allocations: 0 / 369.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=65): time 0.004132/0.1626, allocations: 2.435 MB / 371.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1627, allocations: 59.91 kB / 371.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1637, allocations: 0.7933 MB / 372.7 MB, free: 7.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.1637, allocations: 37.7 kB / 372.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.1643, allocations: 0.9138 MB / 373.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.1645, allocations: 228.7 kB / 373.9 MB, free: 5.805 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.1647, allocations: 146.5 kB / 374 MB, free: 5.656 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1649, allocations: 390.8 kB / 374.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.1655, allocations: 361.8 kB / 374.7 MB, free: 4.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006998/0.1662, allocations: 0.5867 MB / 375.3 MB, free: 4.227 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.1675, allocations: 0.9893 MB / 376.3 MB, free: 3.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1675, allocations: 4 kB / 376.3 MB, free: 3.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001821/0.1693, allocations: 1.147 MB / 377.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1694, allocations: 11.94 kB / 377.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.1694, allocations: 8 kB / 377.5 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.1697, allocations: 112.7 kB / 377.6 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006697/0.1704, allocations: 171.9 kB / 377.8 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1522/0.3226, allocations: 2.32 MB / 380.1 MB, free: 49.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006693/0.3233, allocations: 45.5 kB / 380.1 MB, free: 49.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.3234, allocations: 29.94 kB / 380.2 MB, free: 49.82 MB / 318.1 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.0009766/0.3244, allocations: 0.6537 MB / 380.8 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.3245, allocations: 82.09 kB / 380.9 MB, free: 49.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.3247, allocations: 101.2 kB / 381 MB, free: 49.69 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.292e-05/0.3248, allocations: 10.12 kB / 381 MB, free: 49.69 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.3248, allocations: 6.312 kB / 381 MB, free: 49.69 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3248, allocations: 2.766 kB / 381 MB, free: 49.69 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.3301, allocations: 2.661 MB / 383.7 MB, free: 48.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.3301, allocations: 1.312 kB / 383.7 MB, free: 48.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.3306, allocations: 110.4 kB / 383.8 MB, free: 48.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.3309, allocations: 94.86 kB / 383.9 MB, free: 48.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.331, allocations: 20.64 kB / 383.9 MB, free: 48.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.3329, allocations: 2.269 MB / 386.2 MB, free: 47.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.3329, allocations: 1.828 kB / 386.2 MB, free: 47.06 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/0.3353, allocations: 1.429 MB / 387.6 MB, free: 46.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004917/0.3358, allocations: 223.7 kB / 387.8 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/0.336, allocations: 15.59 kB / 387.8 MB, free: 46.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.3364, allocations: 40.61 kB / 387.9 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.3366, allocations: 47.41 kB / 387.9 MB, free: 46.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.3366, allocations: 24.28 kB / 387.9 MB, free: 46.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008668/0.3375, allocations: 0.5633 MB / 388.5 MB, free: 46.06 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3375, allocations: 0 / 388.5 MB, free: 46.06 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001374/0.3389, allocations: 296.4 kB / 388.8 MB, free: 46.04 MB / 318.1 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.0003211/0.3392, allocations: 134 kB / 388.9 MB, free: 45.94 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.341, allocations: 1.011 MB / 389.9 MB, free: 45.53 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.341, allocations: 6.844 kB / 389.9 MB, free: 45.53 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.3419, allocations: 0.5572 MB / 390.5 MB, free: 45.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.343, allocations: 216.3 kB / 390.7 MB, free: 45.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.3483, allocations: 3.203 MB / 393.9 MB, free: 43.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.3496, allocations: 1.72 MB / 395.6 MB, free: 42.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006559/0.3503, allocations: 205.3 kB / 395.8 MB, free: 42.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.3505, allocations: 63.23 kB / 395.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3505, allocations: 5.312 kB / 395.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of Templates: time 0.01935/0.3698, allocations: 12.24 MB / 408.1 MB, free: 33.94 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches