Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001882/0.001882, allocations: 181.4 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.045/3.045, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001205/0.001206, allocations: 89.98 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004532/0.0004533, allocations: 8 kB / 328.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4845, allocations: 47.58 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.6683, allocations: 84.95 MB / 460.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005162/0.6689, allocations: 75.95 kB / 460.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.7813, allocations: 31.62 MB / 492.4 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.7814, allocations: 0 / 492.4 MB, free: 11.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002471/0.7816, allocations: 51.94 kB / 492.4 MB, free: 11.76 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.008752/0.7904, allocations: 2.068 MB / 494.5 MB, free: 9.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.678e-05/0.7905, allocations: 12.03 kB / 494.5 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.7926, allocations: 254.2 kB / 494.7 MB, free: 9.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.7977, allocations: 1.278 MB / 496 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003249/0.7981, allocations: 168.9 kB / 496.2 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.7994, allocations: 224.3 kB / 496.4 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01204/0.8115, allocations: 2.768 MB / 499.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.143e-05/0.8116, allocations: 192 / 499.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.812, allocations: 107.9 kB / 499.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.755e-05/0.812, allocations: 56 kB / 499.3 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006775/0.8188, allocations: 1.958 MB / 0.4895 GB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4628/1.282, allocations: 7.72 MB / 0.4971 GB, free: 89.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/1.284, allocations: 1.269 MB / 0.4983 GB, free: 88.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/1.286, allocations: 0.6237 MB / 0.4989 GB, free: 88.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-05/1.286, allocations: 16.66 kB / 0.4989 GB, free: 88.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/1.286, allocations: 37.53 kB / 0.499 GB, free: 88.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 5.27e-06/1.286, allocations: 0 / 0.499 GB, free: 88.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.007627/1.294, allocations: 2.486 MB / 0.5014 GB, free: 88.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/1.294, allocations: 62.25 kB / 0.5015 GB, free: 88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001976/1.296, allocations: 0.787 MB / 0.5022 GB, free: 87.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.597e-05/1.296, allocations: 43.17 kB / 0.5023 GB, free: 87.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008053/1.297, allocations: 0.9201 MB / 0.5032 GB, free: 87.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/1.297, allocations: 223.8 kB / 0.5034 GB, free: 87.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/1.297, allocations: 14.06 kB / 0.5034 GB, free: 87.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/1.297, allocations: 394.5 kB / 0.5038 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/1.298, allocations: 375.8 kB / 0.5041 GB, free: 86.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008958/1.299, allocations: 0.5854 MB / 0.5047 GB, free: 86.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/1.301, allocations: 1.01 MB / 0.5057 GB, free: 86.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.301, allocations: 0 / 0.5057 GB, free: 86.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002675/1.303, allocations: 1.172 MB / 0.5068 GB, free: 86.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.524e-05/1.303, allocations: 7.281 kB / 0.5068 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/1.304, allocations: 10.25 kB / 0.5069 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004212/1.304, allocations: 114 kB / 0.507 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/1.305, allocations: 176.8 kB / 0.5071 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/1.307, allocations: 2.142 MB / 0.5092 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.309, allocations: 51 kB / 0.5093 GB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.309, allocations: 32.95 kB / 0.5093 GB, free: 85.02 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.002038/1.311, allocations: 0.6429 MB / 0.5099 GB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/1.311, allocations: 86.59 kB / 0.51 GB, free: 84.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/1.313, allocations: 0.9537 MB / 0.5109 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.313, allocations: 6.844 kB / 0.511 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.313, allocations: 7.5 kB / 0.511 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/1.313, allocations: 0 / 0.511 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006419/1.32, allocations: 2.727 MB / 0.5136 GB, free: 83.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.32, allocations: 7.531 kB / 0.5136 GB, free: 83.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/1.321, allocations: 113.8 kB / 0.5137 GB, free: 83.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003158/1.321, allocations: 93.58 kB / 0.5138 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/1.321, allocations: 26.89 kB / 0.5139 GB, free: 83.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/1.323, allocations: 2.082 MB / 0.5159 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.323, allocations: 0 / 0.5159 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/1.326, allocations: 1.468 MB / 0.5173 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/1.327, allocations: 227.7 kB / 0.5175 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/1.327, allocations: 19.28 kB / 0.5176 GB, free: 81.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/1.328, allocations: 51.16 kB / 0.5176 GB, free: 81.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/1.328, allocations: 48.66 kB / 0.5176 GB, free: 81.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/1.328, allocations: 18.44 kB / 0.5177 GB, free: 81.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001006/1.329, allocations: 0.5523 MB / 0.5182 GB, free: 81.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.329, allocations: 0 / 0.5182 GB, free: 81.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001906/1.331, allocations: 307.8 kB / 0.5185 GB, free: 81.04 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.0004078/1.331, allocations: 146.7 kB / 0.5186 GB, free: 80.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/1.334, allocations: 1.079 MB / 0.5197 GB, free: 80.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.334, allocations: 3.438 kB / 0.5197 GB, free: 80.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.335, allocations: 0.6329 MB / 0.5203 GB, free: 80.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/1.337, allocations: 202 kB / 0.5205 GB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008195/1.345, allocations: 3.982 MB / 0.5244 GB, free: 77.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/1.347, allocations: 1.683 MB / 0.526 GB, free: 76.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/1.347, allocations: 62.36 kB / 0.5261 GB, free: 76.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/1.347, allocations: 0 / 0.5261 GB, free: 76.86 MB / 378.7 MB Notification: Performance of Templates: time 0.04624/1.393, allocations: 28.24 MB / 0.5537 GB, free: 56.85 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches