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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001074, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.219/1.219, allocations: 205.1 MB / 223.8 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008801/0.0008801, allocations: 104.2 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007601/0.0007602, allocations: 43.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1814, allocations: 46.63 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005491/0.1869, allocations: 5.94 MB / 379.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1895, allocations: 1.635 MB / 381.4 MB, free: 39.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.1901, allocations: 38.94 kB / 381.4 MB, free: 39.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004526/0.1906, allocations: 245.5 kB / 381.7 MB, free: 39.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009182/0.1915, allocations: 323.4 kB / 382 MB, free: 39.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.192, allocations: 311 kB / 382.3 MB, free: 39.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001597/0.1936, allocations: 2.15 MB / 384.4 MB, free: 37.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.1957, allocations: 2.25 MB / 386.7 MB, free: 36.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008102/0.1965, allocations: 0.907 MB / 387.6 MB, free: 35.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008568/0.1974, allocations: 1.152 MB / 388.8 MB, free: 34.49 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.1976, allocations: 208 kB / 389 MB, free: 34.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005001/0.1981, allocations: 379.6 kB / 389.3 MB, free: 33.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.1985, allocations: 0.6231 MB / 389.9 MB, free: 33.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006841/0.1991, allocations: 1.139 MB / 391.1 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.2009, allocations: 3.682 MB / 394.8 MB, free: 28.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2009, allocations: 4 kB / 394.8 MB, free: 28.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.2009, allocations: 0 / 394.8 MB, free: 28.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.4e-05/0.201, allocations: 0 / 394.8 MB, free: 28.45 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.003171/0.2042, allocations: 2.45 MB / 397.2 MB, free: 25.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2042, allocations: 16.03 kB / 397.2 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00041/0.2046, allocations: 242.1 kB / 397.5 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.2061, allocations: 1.174 MB / 398.7 MB, free: 24.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.2062, allocations: 168.9 kB / 398.8 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.2064, allocations: 220.1 kB / 399 MB, free: 24.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.2093, allocations: 2.542 MB / 401.6 MB, free: 21.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.2093, allocations: 0 / 401.6 MB, free: 21.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.2095, allocations: 88 kB / 401.7 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.2095, allocations: 56 kB / 401.7 MB, free: 21.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.212, allocations: 2.145 MB / 403.9 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008033/0.2201, allocations: 7.592 MB / 411.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/0.2209, allocations: 1.252 MB / 412.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007618/0.2217, allocations: 0.6223 MB / 413.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.2218, allocations: 8.562 kB / 413.3 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/0.2218, allocations: 39.12 kB / 413.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 3.026e-06/0.2218, allocations: 3.984 kB / 413.4 MB, free: 9.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=65): time 0.002845/0.2246, allocations: 2.443 MB / 415.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2e-05/0.2247, allocations: 59.97 kB / 415.9 MB, free: 6.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006503/0.2253, allocations: 0.797 MB / 416.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.2254, allocations: 37.7 kB / 416.7 MB, free: 5.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002793/0.2256, allocations: 0.906 MB / 417.6 MB, free: 4.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.16e-05/0.2257, allocations: 232.7 kB / 417.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.2259, allocations: 158.4 kB / 418 MB, free: 4.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.226, allocations: 390.8 kB / 418.4 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.2264, allocations: 361.8 kB / 418.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.2269, allocations: 0.579 MB / 419.3 MB, free: 3.152 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.2278, allocations: 0.9854 MB / 420.3 MB, free: 2.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2278, allocations: 7.938 kB / 420.3 MB, free: 2.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001283/0.2291, allocations: 1.151 MB / 421.5 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2291, allocations: 11.94 kB / 421.5 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2291, allocations: 8 kB / 421.5 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.2294, allocations: 108.8 kB / 421.6 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.2299, allocations: 171.7 kB / 421.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.2317, allocations: 2.132 MB / 423.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.2322, allocations: 43.95 kB / 423.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.2322, allocations: 28 kB / 424 MB, free: 14.27 MB / 314.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.0008204/0.2331, allocations: 0.6457 MB / 424.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2332, allocations: 86.97 kB / 424.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.2334, allocations: 107.6 kB / 424.8 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/0.2334, allocations: 11.94 kB / 424.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.2335, allocations: 0 / 424.8 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2335, allocations: 4.047 kB / 424.8 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.2372, allocations: 2.669 MB / 427.5 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2373, allocations: 4.188 kB / 427.5 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.2377, allocations: 107.9 kB / 427.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.2379, allocations: 104.9 kB / 427.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.238, allocations: 19.92 kB / 427.7 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.2397, allocations: 2.064 MB / 429.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2397, allocations: 0 / 429.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007073/0.2468, allocations: 6.398 MB / 436.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.2471, allocations: 216.1 kB / 436.4 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.2472, allocations: 16 kB / 436.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.2476, allocations: 43.95 kB / 436.4 MB, free: 1.223 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.2477, allocations: 48.47 kB / 436.5 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.2478, allocations: 20 kB / 436.5 MB, free: 1.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000588/0.2484, allocations: 0.5576 MB / 437.1 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2484, allocations: 0 / 437.1 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001087/0.2495, allocations: 364 kB / 437.4 MB, free: 256 kB / 314.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.000214/0.2497, allocations: 143.1 kB / 437.6 MB, free: 104 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.2511, allocations: 1.002 MB / 438.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2511, allocations: 1.688 kB / 438.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.2518, allocations: 0.5681 MB / 439.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.2528, allocations: 208.2 kB / 439.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/0.2581, allocations: 4.695 MB / 444 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.2593, allocations: 1.744 MB / 445.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006159/0.26, allocations: 207.1 kB / 446 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.2601, allocations: 63.42 kB / 446 MB, free: 7.484 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.2601, allocations: 0 / 446 MB, free: 7.484 MB / 330.7 MB Notification: Performance of Templates: time 0.01976/0.2799, allocations: 12.66 MB / 458.7 MB, free: 10.85 MB / 346.7 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches