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.00138/0.00138, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000814/0.0008139, allocations: 90.42 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.381e-05/1.386e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08624, allocations: 50.42 MB / 387.4 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3054/0.3917, allocations: 86.1 MB / 473.6 MB, free: 8.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.392, allocations: 71.95 kB / 473.6 MB, free: 8.672 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07756/0.4695, allocations: 32.22 MB / 0.494 GB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4696, allocations: 0 / 0.494 GB, free: 8.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.4697, allocations: 55.94 kB / 0.494 GB, free: 8.242 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.004381/0.4741, allocations: 1.966 MB / 0.496 GB, free: 6.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4741, allocations: 12.03 kB / 0.496 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.4751, allocations: 265.1 kB / 0.4962 GB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.4774, allocations: 1.242 MB / 0.4974 GB, free: 4.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.4775, allocations: 72 kB / 0.4975 GB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004027/0.4779, allocations: 131.9 kB / 0.4976 GB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003872/0.4818, allocations: 1.766 MB / 0.4994 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006109/0.4879, allocations: 2.364 MB / 0.5017 GB, free: 184 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.488, allocations: 4 kB / 0.5017 GB, free: 180 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.4883, allocations: 7.953 kB / 0.5017 GB, free: 172 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/0.4883, allocations: 56 kB / 0.5017 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.5044, allocations: 7.292 MB / 0.5089 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.5059, allocations: 1.22 MB / 0.51 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.5072, allocations: 0.5868 MB / 0.5106 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.485e-05/0.5073, allocations: 8.547 kB / 0.5106 GB, free: 6.672 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.5073, allocations: 39.12 kB / 0.5107 GB, free: 6.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 4.078e-06/0.5074, allocations: 0 / 0.5107 GB, free: 6.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.004671/0.512, allocations: 1.986 MB / 0.5126 GB, free: 4.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.5121, allocations: 59.97 kB / 0.5127 GB, free: 4.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.5134, allocations: 0.6518 MB / 0.5133 GB, free: 3.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.5134, allocations: 25.7 kB / 0.5133 GB, free: 3.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/0.5142, allocations: 0.9175 MB / 0.5142 GB, free: 2.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.5145, allocations: 212.9 kB / 0.5144 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.5145, allocations: 0 / 0.5144 GB, free: 2.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.5148, allocations: 394.7 kB / 0.5148 GB, free: 2.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000701/0.5155, allocations: 337.9 kB / 0.5151 GB, free: 1.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.5163, allocations: 0.5472 MB / 0.5157 GB, free: 1.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.5169, allocations: 429.8 kB / 0.5161 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.5169, allocations: 4 kB / 0.5161 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001538/0.5185, allocations: 1.045 MB / 0.5171 GB, free: 15.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5185, allocations: 9.094 kB / 0.5171 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.5186, allocations: 8 kB / 0.5171 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002576/0.5188, allocations: 105.1 kB / 0.5172 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/0.5195, allocations: 179.7 kB / 0.5174 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.5215, allocations: 2.056 MB / 0.5194 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.522, allocations: 31.92 kB / 0.5194 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.5221, allocations: 36.06 kB / 0.5194 GB, free: 13.29 MB / 410.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.0001452/0.5222, allocations: 128.8 kB / 0.5196 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.5224, allocations: 75.06 kB / 0.5196 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.5238, allocations: 0.8434 MB / 0.5205 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.5238, allocations: 12 kB / 0.5205 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5238, allocations: 0 / 0.5205 GB, free: 12.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5238, allocations: 3.984 kB / 0.5205 GB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.5276, allocations: 2.307 MB / 0.5227 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.5277, allocations: 3.984 kB / 0.5227 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005095/0.5282, allocations: 107.8 kB / 0.5228 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.5284, allocations: 100.7 kB / 0.5229 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.5285, allocations: 8 kB / 0.5229 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.5303, allocations: 2.009 MB / 0.5249 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5303, allocations: 0 / 0.5249 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.5321, allocations: 1.4 MB / 0.5263 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.5325, allocations: 224.1 kB / 0.5265 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5326, allocations: 8.062 kB / 0.5265 GB, free: 5.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.5331, allocations: 35.95 kB / 0.5265 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.5332, allocations: 40.5 kB / 0.5266 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.5332, allocations: 32.05 kB / 0.5266 GB, free: 5.672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006451/0.5339, allocations: 499.1 kB / 0.5271 GB, free: 5.191 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5339, allocations: 4 kB / 0.5271 GB, free: 5.188 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001168/0.5351, allocations: 287.9 kB / 0.5274 GB, free: 4.906 MB / 410.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.0002885/0.5354, allocations: 139 kB / 0.5275 GB, free: 4.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.5368, allocations: 0.9873 MB / 0.5284 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5368, allocations: 0 / 0.5284 GB, free: 3.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.5376, allocations: 0.5692 MB / 0.529 GB, free: 3.156 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5386, allocations: 196.1 kB / 0.5292 GB, free: 2.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/0.5433, allocations: 2.478 MB / 0.5316 GB, free: 448 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.5448, allocations: 1.752 MB / 0.5333 GB, free: 14.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005965/0.5454, allocations: 194.8 kB / 0.5335 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.5456, allocations: 59.42 kB / 0.5336 GB, free: 14.39 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5456, allocations: 0 / 0.5336 GB, free: 14.39 MB / 426.7 MB Notification: Performance of Templates: time 0.01958/0.5652, allocations: 10.29 MB / 0.5436 GB, free: 4.219 MB / 426.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