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.001855/0.001855, allocations: 183.6 kB / 18.05 MB, free: 3.664 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.323/1.323, allocations: 205.4 MB / 224.2 MB, free: 8.961 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.0007837/0.0007837, allocations: 93.09 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 8 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.3167, allocations: 84.95 MB / 462 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.317, allocations: 75.95 kB / 462.1 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07857/0.3955, allocations: 31.61 MB / 493.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3956, allocations: 4 kB / 493.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001287/0.3957, allocations: 51.94 kB / 493.7 MB, free: 11.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.00464/0.4004, allocations: 2.068 MB / 495.8 MB, free: 9.562 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4004, allocations: 11.97 kB / 495.8 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008853/0.4013, allocations: 254.2 kB / 496 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.4037, allocations: 1.282 MB / 497.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.4038, allocations: 164.9 kB / 497.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004257/0.4042, allocations: 224.3 kB / 497.7 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005207/0.4094, allocations: 2.772 MB / 0.4888 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.114e-05/0.4095, allocations: 192 / 0.4888 GB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.4098, allocations: 103.9 kB / 0.4889 GB, free: 4.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/0.4098, allocations: 52 kB / 0.4889 GB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.4135, allocations: 1.966 MB / 0.4908 GB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1527/0.5662, allocations: 7.717 MB / 0.4984 GB, free: 89.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009669/0.5672, allocations: 1.276 MB / 0.4996 GB, free: 89.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/0.5681, allocations: 0.6204 MB / 0.5002 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.5681, allocations: 12.39 kB / 0.5002 GB, free: 89.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.5682, allocations: 42.97 kB / 0.5003 GB, free: 89.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.487e-06/0.5682, allocations: 0 / 0.5003 GB, free: 89.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.003559/0.5717, allocations: 2.487 MB / 0.5027 GB, free: 88.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.5718, allocations: 61.78 kB / 0.5027 GB, free: 88.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007626/0.5726, allocations: 0.7835 MB / 0.5035 GB, free: 88.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.5726, allocations: 44.02 kB / 0.5036 GB, free: 88.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.5729, allocations: 0.9173 MB / 0.5045 GB, free: 88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.573, allocations: 225.2 kB / 0.5047 GB, free: 87.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.5731, allocations: 16.66 kB / 0.5047 GB, free: 87.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.568e-05/0.5732, allocations: 391.7 kB / 0.5051 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.5736, allocations: 370.5 kB / 0.5054 GB, free: 87.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.5741, allocations: 0.5913 MB / 0.506 GB, free: 87.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.5752, allocations: 1.009 MB / 0.507 GB, free: 87.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5752, allocations: 0 / 0.507 GB, free: 87.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001404/0.5766, allocations: 1.175 MB / 0.5081 GB, free: 86.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.5766, allocations: 13.69 kB / 0.5081 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.5766, allocations: 10.34 kB / 0.5081 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.5769, allocations: 114.5 kB / 0.5083 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.5775, allocations: 176.3 kB / 0.5084 GB, free: 86.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.579, allocations: 2.137 MB / 0.5105 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.5794, allocations: 43.72 kB / 0.5105 GB, free: 85.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-05/0.5794, allocations: 29.09 kB / 0.5106 GB, free: 85.59 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.0007081/0.5802, allocations: 0.6479 MB / 0.5112 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.5803, allocations: 86.88 kB / 0.5113 GB, free: 85.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.5815, allocations: 0.9565 MB / 0.5122 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.5815, allocations: 7.688 kB / 0.5122 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5815, allocations: 0 / 0.5122 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/0.5816, allocations: 3.703 kB / 0.5122 GB, free: 85.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003256/0.5848, allocations: 2.726 MB / 0.5149 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5848, allocations: 3.906 kB / 0.5149 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.5852, allocations: 107.4 kB / 0.515 GB, free: 84.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.5854, allocations: 105.6 kB / 0.5151 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/0.5855, allocations: 15.78 kB / 0.5151 GB, free: 84.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.5868, allocations: 2.082 MB / 0.5172 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5868, allocations: 0.75 kB / 0.5172 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.5884, allocations: 1.465 MB / 0.5186 GB, free: 82.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.5887, allocations: 235.6 kB / 0.5188 GB, free: 81.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.5888, allocations: 15.5 kB / 0.5188 GB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.5892, allocations: 48.92 kB / 0.5189 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5893, allocations: 53.95 kB / 0.5189 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.5893, allocations: 14.44 kB / 0.5189 GB, free: 81.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005238/0.5899, allocations: 0.5569 MB / 0.5195 GB, free: 81.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5899, allocations: 0 / 0.5195 GB, free: 81.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000983/0.5909, allocations: 314.5 kB / 0.5198 GB, free: 81.55 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.0002067/0.5911, allocations: 147.3 kB / 0.5199 GB, free: 81.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.5924, allocations: 1.084 MB / 0.521 GB, free: 80.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5924, allocations: 0 / 0.521 GB, free: 80.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.5931, allocations: 0.6302 MB / 0.5216 GB, free: 80.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5941, allocations: 205.6 kB / 0.5218 GB, free: 80.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.5984, allocations: 3.989 MB / 0.5257 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009368/0.5993, allocations: 1.722 MB / 0.5274 GB, free: 77.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004794/0.5998, allocations: 199.8 kB / 0.5276 GB, free: 77.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.5999, allocations: 55.53 kB / 0.5276 GB, free: 77.35 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5999, allocations: 0 / 0.5276 GB, free: 77.35 MB / 378.7 MB Notification: Performance of Templates: time 0.0163/0.6162, allocations: 11.52 MB / 0.5389 GB, free: 73.65 MB / 378.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/jenkins1/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