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.002128/0.002127, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 93.11 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.729e-05, allocations: 11.98 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.359, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5033, allocations: 84.11 MB / 446.4 MB, free: 2.215 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.5036, allocations: 79.95 kB / 446.5 MB, free: 2.137 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1307/0.6344, allocations: 31.39 MB / 477.9 MB, free: 2.684 MB / 363.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6344, allocations: 0 / 477.9 MB, free: 2.684 MB / 363.1 MB Notification: Performance of Transformations before backend: time 0.0002346/0.6347, allocations: 51.94 kB / 478 MB, free: 2.633 MB / 363.1 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.009441/0.6442, allocations: 1.958 MB / 479.9 MB, free: 0.6211 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.6442, allocations: 12.03 kB / 479.9 MB, free: 0.6094 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.6462, allocations: 253.2 kB / 480.2 MB, free: 368 kB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005645/0.652, allocations: 1.25 MB / 481.4 MB, free: 15.06 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.6522, allocations: 75.98 kB / 481.5 MB, free: 14.99 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000965/0.6532, allocations: 132 kB / 481.6 MB, free: 14.86 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008341/0.6616, allocations: 1.766 MB / 483.4 MB, free: 13.09 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.6725, allocations: 2.372 MB / 485.8 MB, free: 10.57 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.279e-05/0.6726, allocations: 0 / 485.8 MB, free: 10.57 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002871/0.6729, allocations: 4 kB / 485.8 MB, free: 10.57 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.635e-05/0.6731, allocations: 52 kB / 485.8 MB, free: 10.52 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.6936, allocations: 7.303 MB / 493.1 MB, free: 3.016 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.6955, allocations: 1.216 MB / 494.3 MB, free: 1.664 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.6971, allocations: 0.5673 MB / 494.9 MB, free: 1.094 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.581e-05/0.6973, allocations: 12.55 kB / 494.9 MB, free: 1.082 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.6973, allocations: 43.11 kB / 495 MB, free: 1.031 MB / 379.1 MB Notification: Performance of pre-optimization done (n=63): time 3.697e-06/0.6973, allocations: 0 / 495 MB, free: 1.031 MB / 379.1 MB Notification: Performance of matching and sorting (n=65): time 0.005363/0.7027, allocations: 1.994 MB / 497 MB, free: 14.97 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.7028, allocations: 63.97 kB / 497 MB, free: 14.9 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.7042, allocations: 0.6441 MB / 497.7 MB, free: 14.25 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 9.549e-05/0.7043, allocations: 25.7 kB / 497.7 MB, free: 14.22 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.705, allocations: 0.9318 MB / 498.6 MB, free: 13.27 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002756/0.7053, allocations: 220.7 kB / 498.8 MB, free: 13.05 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.7054, allocations: 0 / 498.8 MB, free: 13.05 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7056, allocations: 346.8 kB / 499.2 MB, free: 12.71 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007801/0.7064, allocations: 337.9 kB / 499.5 MB, free: 12.38 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009759/0.7074, allocations: 0.5436 MB / 0.4883 GB, free: 11.74 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.7084, allocations: 445.7 kB / 0.4887 GB, free: 11.3 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7084, allocations: 0 / 0.4887 GB, free: 11.3 MB / 395.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002458/0.7109, allocations: 0.9955 MB / 0.4897 GB, free: 10.3 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.7109, allocations: 8 kB / 0.4897 GB, free: 10.29 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/0.711, allocations: 8 kB / 0.4897 GB, free: 10.29 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004299/0.7114, allocations: 104.8 kB / 0.4898 GB, free: 10.18 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.7127, allocations: 179.8 kB / 0.49 GB, free: 10 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003037/0.7158, allocations: 2.059 MB / 0.492 GB, free: 7.828 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.7167, allocations: 23.97 kB / 0.492 GB, free: 7.805 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/0.7168, allocations: 36 kB / 0.4921 GB, free: 7.77 MB / 395.1 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.0002176/0.7171, allocations: 132.8 kB / 0.4922 GB, free: 7.633 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.7173, allocations: 82.97 kB / 0.4923 GB, free: 7.551 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.7195, allocations: 0.8474 MB / 0.4931 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.7195, allocations: 11.95 kB / 0.4931 GB, free: 6.676 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7196, allocations: 7.938 kB / 0.4931 GB, free: 6.668 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7196, allocations: 3.984 kB / 0.4931 GB, free: 6.664 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006098/0.7257, allocations: 2.305 MB / 0.4954 GB, free: 4.293 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.7258, allocations: 4 kB / 0.4954 GB, free: 4.289 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009221/0.7267, allocations: 111.9 kB / 0.4955 GB, free: 4.18 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.7271, allocations: 92.95 kB / 0.4956 GB, free: 4.086 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.7272, allocations: 15.98 kB / 0.4956 GB, free: 4.07 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/0.73, allocations: 2.009 MB / 0.4976 GB, free: 1.945 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7301, allocations: 0 / 0.4976 GB, free: 1.945 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.7332, allocations: 1.396 MB / 0.4989 GB, free: 496 kB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.7338, allocations: 224.1 kB / 0.4991 GB, free: 252 kB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.7339, allocations: 3.984 kB / 0.4991 GB, free: 248 kB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/0.7347, allocations: 40.02 kB / 0.4992 GB, free: 208 kB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/0.7349, allocations: 56.39 kB / 0.4992 GB, free: 152 kB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.735, allocations: 16 kB / 0.4992 GB, free: 136 kB / 395.1 MB Notification: Performance of sorting global known variables: time 0.2647/0.9997, allocations: 0.4924 MB / 0.4997 GB, free: 104.5 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.082e-06/0.9998, allocations: 0 / 0.4997 GB, free: 104.5 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001956/1.002, allocations: 283.9 kB / 0.5 GB, free: 104.5 MB / 395.1 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.0004681/1.002, allocations: 132 kB / 0.5001 GB, free: 104.4 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002343/1.005, allocations: 0.9877 MB / 0.5011 GB, free: 104.2 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.005, allocations: 1.125 kB / 0.5011 GB, free: 104.2 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.006, allocations: 0.5832 MB / 0.5017 GB, free: 104.1 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.008, allocations: 182.2 kB / 0.5018 GB, free: 104.1 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/1.016, allocations: 2.452 MB / 0.5042 GB, free: 103.4 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/1.018, allocations: 1.724 MB / 0.5059 GB, free: 102.7 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/1.019, allocations: 63.98 kB / 0.506 GB, free: 102.7 MB / 395.1 MB Notification: Performance of SimCode: time 1.423e-06/1.019, allocations: 0 / 0.506 GB, free: 102.7 MB / 395.1 MB Notification: Performance of Templates: time 0.05393/1.073, allocations: 27.25 MB / 0.5326 GB, free: 99.07 MB / 395.1 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