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.001586/0.001586, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.495/1.495, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0007562/0.0007561, allocations: 99.69 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000247/0.0002466, allocations: 15.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2776, allocations: 50.39 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3813, allocations: 86.84 MB / 488.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.3817, allocations: 75.95 kB / 488.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2596/0.6413, allocations: 32.45 MB / 0.5086 GB, free: 85.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6413, allocations: 0 / 0.5086 GB, free: 85.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.282e-05/0.6414, allocations: 57.59 kB / 0.5087 GB, free: 85.73 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.003149/0.6446, allocations: 2.089 MB / 0.5107 GB, free: 84.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.6446, allocations: 10.25 kB / 0.5107 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005489/0.6452, allocations: 258.6 kB / 0.511 GB, free: 84.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.6471, allocations: 1.256 MB / 0.5122 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/0.6472, allocations: 167.7 kB / 0.5124 GB, free: 84.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/0.6475, allocations: 219.3 kB / 0.5126 GB, free: 84.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003841/0.6514, allocations: 2.748 MB / 0.5153 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.6514, allocations: 2.719 kB / 0.5153 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.6516, allocations: 99.52 kB / 0.5154 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/0.6516, allocations: 55.03 kB / 0.5154 GB, free: 83.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002845/0.6545, allocations: 1.957 MB / 0.5173 GB, free: 83.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009432/0.6639, allocations: 7.71 MB / 0.5249 GB, free: 80.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009415/0.6649, allocations: 1.272 MB / 0.5261 GB, free: 79.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.665, allocations: 7.5 kB / 0.5261 GB, free: 79.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.665, allocations: 42.05 kB / 0.5262 GB, free: 79.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.906e-06/0.665, allocations: 0 / 0.5262 GB, free: 79.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.003338/0.6683, allocations: 2.633 MB / 0.5287 GB, free: 77.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.6684, allocations: 58.91 kB / 0.5288 GB, free: 77.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006931/0.6691, allocations: 0.7097 MB / 0.5295 GB, free: 77.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.6691, allocations: 37.33 kB / 0.5295 GB, free: 77.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.6695, allocations: 0.9143 MB / 0.5304 GB, free: 76.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6696, allocations: 221.1 kB / 0.5306 GB, free: 76.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.6696, allocations: 15.66 kB / 0.5306 GB, free: 76.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6697, allocations: 391.2 kB / 0.531 GB, free: 76.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004635/0.6702, allocations: 379.4 kB / 0.5314 GB, free: 75.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.6708, allocations: 0.5948 MB / 0.5319 GB, free: 75.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.6714, allocations: 479.4 kB / 0.5324 GB, free: 75.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.6714, allocations: 3.938 kB / 0.5324 GB, free: 75.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001442/0.6728, allocations: 1.152 MB / 0.5335 GB, free: 74.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6729, allocations: 8.438 kB / 0.5335 GB, free: 74.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.6729, allocations: 15.94 kB / 0.5336 GB, free: 74.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002025/0.6731, allocations: 84.84 kB / 0.5336 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/0.6737, allocations: 183.5 kB / 0.5338 GB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.6751, allocations: 1.953 MB / 0.5357 GB, free: 72.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.6755, allocations: 47.42 kB / 0.5358 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.6756, allocations: 31.95 kB / 0.5358 GB, free: 71.96 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 (91): * Single equations (assignments): 88 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008211/0.6764, allocations: 0.6495 MB / 0.5364 GB, free: 71.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.6766, allocations: 79.06 kB / 0.5365 GB, free: 71.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.6779, allocations: 0.9346 MB / 0.5374 GB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.6779, allocations: 4 kB / 0.5374 GB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6779, allocations: 4 kB / 0.5374 GB, free: 70.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.6779, allocations: 7.797 kB / 0.5374 GB, free: 70.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.6816, allocations: 2.673 MB / 0.54 GB, free: 68.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.6816, allocations: 3.75 kB / 0.54 GB, free: 68.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.682, allocations: 111.9 kB / 0.5402 GB, free: 68.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/0.6822, allocations: 77.86 kB / 0.5402 GB, free: 68.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.6823, allocations: 15.66 kB / 0.5402 GB, free: 68.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.6835, allocations: 1.924 MB / 0.5421 GB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6836, allocations: 0 / 0.5421 GB, free: 66.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.6852, allocations: 1.442 MB / 0.5435 GB, free: 64.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.6856, allocations: 234.6 kB / 0.5438 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.6857, allocations: 15.28 kB / 0.5438 GB, free: 64.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.6861, allocations: 45.67 kB / 0.5438 GB, free: 64.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6862, allocations: 46.75 kB / 0.5439 GB, free: 64.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.6862, allocations: 20 kB / 0.5439 GB, free: 64.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005599/0.6868, allocations: 0.5549 MB / 0.5444 GB, free: 64.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6868, allocations: 0 / 0.5444 GB, free: 64.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001057/0.6879, allocations: 304 kB / 0.5447 GB, free: 63.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (56): * Single equations (assignments): 53 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002537/0.6881, allocations: 155.9 kB / 0.5449 GB, free: 63.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.6895, allocations: 1.063 MB / 0.5459 GB, free: 62.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.6896, allocations: 4.125 kB / 0.5459 GB, free: 62.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006711/0.6902, allocations: 0.596 MB / 0.5465 GB, free: 62.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.691, allocations: 201.5 kB / 0.5467 GB, free: 61.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/0.6956, allocations: 3.963 MB / 0.5505 GB, free: 58.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.6968, allocations: 1.756 MB / 0.5523 GB, free: 56.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006143/0.6974, allocations: 201.4 kB / 0.5524 GB, free: 56.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.6976, allocations: 55.44 kB / 0.5525 GB, free: 56.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.133e-06/0.6976, allocations: 7.938 kB / 0.5525 GB, free: 56.44 MB / 378.7 MB Notification: Performance of Templates: time 0.02089/0.7185, allocations: 11.34 MB / 0.5636 GB, free: 45.44 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/jenkins/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