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.0008995/0.0008996, allocations: 175.5 kB / 17.4 MB, free: 4.414 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.341/1.341, allocations: 223.3 MB / 241.4 MB, free: 11.73 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.0009215/0.0009216, allocations: 98.64 kB / 292.6 MB, free: 10.81 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 19.94 kB / 352.4 MB, free: 15.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2163, allocations: 50.39 MB / 402.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3175, allocations: 86.9 MB / 489.6 MB, free: 9.473 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3178, allocations: 81.11 kB / 489.7 MB, free: 9.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2523/0.5701, allocations: 32.46 MB / 0.5099 GB, free: 85.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5701, allocations: 0 / 0.5099 GB, free: 85.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.5702, allocations: 58.94 kB / 0.51 GB, free: 85.7 MB / 378.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.003859/0.5741, allocations: 2.067 MB / 0.512 GB, free: 84.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.5742, allocations: 7.719 kB / 0.512 GB, free: 84.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.5747, allocations: 252.7 kB / 0.5123 GB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.5764, allocations: 1.28 MB / 0.5135 GB, free: 84.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.5765, allocations: 163.3 kB / 0.5137 GB, free: 84.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.5768, allocations: 221.9 kB / 0.5139 GB, free: 84.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/0.5804, allocations: 2.772 MB / 0.5166 GB, free: 83.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/0.5805, allocations: 4.188 kB / 0.5166 GB, free: 83.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.5807, allocations: 100.2 kB / 0.5167 GB, free: 83.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.5807, allocations: 53 kB / 0.5167 GB, free: 83.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.5835, allocations: 1.956 MB / 0.5187 GB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008881/0.5924, allocations: 7.731 MB / 0.5262 GB, free: 80.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008796/0.5933, allocations: 1.269 MB / 0.5274 GB, free: 79.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008114/0.5941, allocations: 0.6299 MB / 0.5281 GB, free: 78.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.5942, allocations: 10.97 kB / 0.5281 GB, free: 78.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.5942, allocations: 38.56 kB / 0.5281 GB, free: 78.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.645e-06/0.5942, allocations: 3.938 kB / 0.5281 GB, free: 78.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.003308/0.5975, allocations: 2.484 MB / 0.5305 GB, free: 77.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.5976, allocations: 59.16 kB / 0.5306 GB, free: 77.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/0.5983, allocations: 0.7888 MB / 0.5314 GB, free: 77.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.5984, allocations: 41.42 kB / 0.5314 GB, free: 77.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.5987, allocations: 0.9177 MB / 0.5323 GB, free: 76.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5988, allocations: 226.2 kB / 0.5325 GB, free: 76.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.5988, allocations: 14.12 kB / 0.5325 GB, free: 76.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.5989, allocations: 392.1 kB / 0.5329 GB, free: 75.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.5994, allocations: 375.9 kB / 0.5333 GB, free: 75.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.6, allocations: 0.5901 MB / 0.5338 GB, free: 75.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.601, allocations: 1.013 MB / 0.5348 GB, free: 74.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.601, allocations: 0 / 0.5348 GB, free: 74.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001445/0.6025, allocations: 1.167 MB / 0.536 GB, free: 73.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.6025, allocations: 8 kB / 0.536 GB, free: 73.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.6026, allocations: 11.38 kB / 0.536 GB, free: 73.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.6028, allocations: 115.1 kB / 0.5361 GB, free: 72.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/0.6034, allocations: 181.5 kB / 0.5363 GB, free: 72.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.605, allocations: 2.13 MB / 0.5383 GB, free: 70.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000472/0.6055, allocations: 49.88 kB / 0.5384 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.6055, allocations: 32 kB / 0.5384 GB, free: 70.65 MB / 378.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: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008991/0.6064, allocations: 0.6503 MB / 0.5391 GB, free: 70.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.6066, allocations: 79.06 kB / 0.5391 GB, free: 70 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.6079, allocations: 0.9474 MB / 0.5401 GB, free: 69.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.6079, allocations: 7.609 kB / 0.5401 GB, free: 69.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.6079, allocations: 4 kB / 0.5401 GB, free: 69.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.6079, allocations: 3.938 kB / 0.5401 GB, free: 69.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.6113, allocations: 2.721 MB / 0.5427 GB, free: 66.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.6113, allocations: 7.75 kB / 0.5427 GB, free: 66.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.6118, allocations: 105.7 kB / 0.5428 GB, free: 66.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001935/0.612, allocations: 101.6 kB / 0.5429 GB, free: 66.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.612, allocations: 23.91 kB / 0.543 GB, free: 66.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.6135, allocations: 2.079 MB / 0.545 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6135, allocations: 4.031 kB / 0.545 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.6153, allocations: 1.46 MB / 0.5464 GB, free: 63.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.6156, allocations: 226.1 kB / 0.5466 GB, free: 63.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.6157, allocations: 15.75 kB / 0.5466 GB, free: 63.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.6161, allocations: 50.19 kB / 0.5467 GB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6162, allocations: 47.34 kB / 0.5467 GB, free: 63.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.6163, allocations: 20 kB / 0.5468 GB, free: 63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006126/0.6169, allocations: 0.5503 MB / 0.5473 GB, free: 62.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6169, allocations: 0 / 0.5473 GB, free: 62.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000985/0.6179, allocations: 311.8 kB / 0.5476 GB, free: 62.25 MB / 378.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: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/0.6181, allocations: 150.8 kB / 0.5477 GB, free: 62.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.6195, allocations: 1.082 MB / 0.5488 GB, free: 61.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6196, allocations: 5.688 kB / 0.5488 GB, free: 61.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.6203, allocations: 0.6351 MB / 0.5494 GB, free: 60.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.6213, allocations: 201 kB / 0.5496 GB, free: 60.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004983/0.6263, allocations: 3.994 MB / 0.5535 GB, free: 56.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.6275, allocations: 1.725 MB / 0.5552 GB, free: 54.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005374/0.6281, allocations: 193.8 kB / 0.5554 GB, free: 54.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.6282, allocations: 59.42 kB / 0.5554 GB, free: 54.49 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6282, allocations: 0 / 0.5554 GB, free: 54.49 MB / 378.7 MB Notification: Performance of Templates: time 0.01934/0.6476, allocations: 11.53 MB / 0.5667 GB, free: 43.31 MB / 378.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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