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.001367/0.001367, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007897/0.0007896, allocations: 82.7 kB / 262.5 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.664e-05, allocations: 4 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0828/0.08283, allocations: 47.59 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/0.3954, allocations: 84.34 MB / 447.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.3956, allocations: 70.34 kB / 447.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07811/0.4737, allocations: 31.38 MB / 478.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4738, allocations: 4 kB / 478.9 MB, free: 1.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001847/0.474, allocations: 51.94 kB / 478.9 MB, free: 1.496 MB / 346.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.006426/0.4804, allocations: 1.965 MB / 480.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.876e-05/0.4805, allocations: 8.031 kB / 480.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.482, allocations: 257.2 kB / 481.1 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/0.4854, allocations: 1.243 MB / 482.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.4856, allocations: 76 kB / 482.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006494/0.4862, allocations: 128 kB / 482.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003933/0.4902, allocations: 1.77 MB / 484.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/0.4942, allocations: 2.372 MB / 486.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.4943, allocations: 4 kB / 486.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.4945, allocations: 0 / 486.7 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.4945, allocations: 56 kB / 486.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01111/0.5056, allocations: 7.307 MB / 494.1 MB, free: 2.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.5068, allocations: 1.208 MB / 495.3 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008648/0.5076, allocations: 0.579 MB / 495.9 MB, free: 168 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.5077, allocations: 8.562 kB / 495.9 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5078, allocations: 35.12 kB / 495.9 MB, free: 116 kB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 3.246e-06/0.5078, allocations: 0 / 495.9 MB, free: 116 kB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.003353/0.5111, allocations: 2.005 MB / 497.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.5112, allocations: 59.97 kB / 498 MB, free: 13.97 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.512, allocations: 0.6402 MB / 498.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.512, allocations: 25.7 kB / 498.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/0.5125, allocations: 0.9137 MB / 499.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.5127, allocations: 224.7 kB / 499.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.5128, allocations: 0 / 499.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5129, allocations: 390.8 kB / 0.4884 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.5133, allocations: 337.9 kB / 0.4888 GB, free: 11.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.5139, allocations: 0.5397 MB / 0.4893 GB, free: 10.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.5145, allocations: 445.8 kB / 0.4897 GB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5145, allocations: 3.938 kB / 0.4897 GB, free: 10.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001485/0.516, allocations: 1.038 MB / 0.4907 GB, free: 9.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.516, allocations: 12.09 kB / 0.4907 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.516, allocations: 8 kB / 0.4908 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.5163, allocations: 108.7 kB / 0.4909 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.517, allocations: 175.7 kB / 0.491 GB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001945/0.5189, allocations: 2.056 MB / 0.493 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.5194, allocations: 27.97 kB / 0.4931 GB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.5195, allocations: 35.98 kB / 0.4931 GB, free: 6.77 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 () * 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.00016/0.5197, allocations: 120.7 kB / 0.4932 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.5198, allocations: 83.12 kB / 0.4933 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.5212, allocations: 0.8433 MB / 0.4941 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.5212, allocations: 15.94 kB / 0.4941 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5212, allocations: 0 / 0.4941 GB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5212, allocations: 4 kB / 0.4941 GB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/0.5251, allocations: 2.319 MB / 0.4964 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5251, allocations: 0 / 0.4964 GB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004653/0.5256, allocations: 111.9 kB / 0.4965 GB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.5258, allocations: 96.92 kB / 0.4966 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.5259, allocations: 8.109 kB / 0.4966 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.5278, allocations: 2.013 MB / 0.4986 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.5278, allocations: 4.031 kB / 0.4986 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.5296, allocations: 1.4 MB / 0.4999 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.5299, allocations: 220.1 kB / 0.5001 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.53, allocations: 7.984 kB / 0.5002 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.5304, allocations: 31.97 kB / 0.5002 GB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.5306, allocations: 56.5 kB / 0.5002 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.5306, allocations: 23.94 kB / 0.5003 GB, free: 15.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006818/0.5313, allocations: 0.4952 MB / 0.5007 GB, free: 14.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5313, allocations: 0 / 0.5007 GB, free: 14.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001165/0.5325, allocations: 279.9 kB / 0.501 GB, free: 14.37 MB / 394.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 () * 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.0003136/0.5328, allocations: 143 kB / 0.5011 GB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001555/0.5344, allocations: 0.9864 MB / 0.5021 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5344, allocations: 0 / 0.5021 GB, free: 13.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008641/0.5353, allocations: 0.5826 MB / 0.5027 GB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5364, allocations: 188.5 kB / 0.5029 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.5413, allocations: 2.466 MB / 0.5053 GB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.5427, allocations: 1.767 MB / 0.507 GB, free: 8.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006618/0.5434, allocations: 190.8 kB / 0.5072 GB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.5435, allocations: 59.42 kB / 0.5072 GB, free: 7.855 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5436, allocations: 4 kB / 0.5072 GB, free: 7.852 MB / 394.7 MB Notification: Performance of Templates: time 0.01886/0.5624, allocations: 10.31 MB / 0.5173 GB, free: 13.53 MB / 410.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/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