Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001651, allocations: 185.4 kB / 16.4 MB, free: 5.746 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.912/1.912, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001087/0.001087, allocations: 98.84 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003996, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3276, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.4856, allocations: 97.1 MB / 471.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.486, allocations: 87.94 kB / 471.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.5945, allocations: 26.24 MB / 498 MB, free: 5.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5945, allocations: 0 / 498 MB, free: 5.109 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.297e-05/0.5946, allocations: 23.94 kB / 498 MB, free: 5.086 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.0031/0.5977, allocations: 1.238 MB / 499.2 MB, free: 3.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5978, allocations: 12.03 kB / 499.2 MB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.5986, allocations: 170.4 kB / 499.4 MB, free: 3.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.6006, allocations: 0.7691 MB / 0.4885 GB, free: 2.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.6007, allocations: 77.95 kB / 0.4885 GB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.6009, allocations: 92.22 kB / 0.4886 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.6034, allocations: 0.9151 MB / 0.4895 GB, free: 1.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.972e-05/0.6035, allocations: 11.84 kB / 0.4895 GB, free: 1.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.6036, allocations: 44 kB / 0.4896 GB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.6036, allocations: 24 kB / 0.4896 GB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.6056, allocations: 0.6324 MB / 0.4902 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2676/0.8733, allocations: 3.94 MB / 0.4941 GB, free: 95.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.8742, allocations: 356 kB / 0.4944 GB, free: 95.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.995e-05/0.8743, allocations: 4.094 kB / 0.4944 GB, free: 95.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.8743, allocations: 37.94 kB / 0.4944 GB, free: 95.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.487e-06/0.8743, allocations: 0 / 0.4944 GB, free: 95.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003399/0.8777, allocations: 1.236 MB / 0.4956 GB, free: 94.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.8778, allocations: 84.36 kB / 0.4957 GB, free: 94.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.8792, allocations: 0.6946 MB / 0.4964 GB, free: 94.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.517e-05/0.8793, allocations: 31.73 kB / 0.4964 GB, free: 94.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.8796, allocations: 0.5746 MB / 0.497 GB, free: 94.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.8798, allocations: 136.6 kB / 0.4971 GB, free: 94.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.8798, allocations: 14.31 kB / 0.4971 GB, free: 94.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.063e-05/0.8799, allocations: 345.2 kB / 0.4975 GB, free: 93.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.8804, allocations: 150.8 kB / 0.4976 GB, free: 93.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006613/0.8811, allocations: 469.1 kB / 0.4981 GB, free: 93.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/0.8818, allocations: 234.8 kB / 0.4983 GB, free: 93.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.8818, allocations: 4.344 kB / 0.4983 GB, free: 93.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001706/0.8836, allocations: 0.6465 MB / 0.4989 GB, free: 93.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.8836, allocations: 10.09 kB / 0.4989 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.8836, allocations: 10.75 kB / 0.4989 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.8839, allocations: 31.52 kB / 0.499 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009341/0.8848, allocations: 163.8 kB / 0.4991 GB, free: 93.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.8858, allocations: 1.301 MB / 0.5004 GB, free: 92.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/0.8868, allocations: 38.81 kB / 0.5004 GB, free: 92.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/0.8868, allocations: 33.64 kB / 0.5005 GB, free: 92.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005854/0.8874, allocations: 258 kB / 0.5007 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.8876, allocations: 85.69 kB / 0.5008 GB, free: 91.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.8888, allocations: 401.3 kB / 0.5012 GB, free: 91.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.8888, allocations: 3.281 kB / 0.5012 GB, free: 91.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.8888, allocations: 0.9688 kB / 0.5012 GB, free: 91.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.8888, allocations: 5.109 kB / 0.5012 GB, free: 91.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.8916, allocations: 1.272 MB / 0.5024 GB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.8916, allocations: 1.156 kB / 0.5024 GB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.8922, allocations: 78.11 kB / 0.5025 GB, free: 91.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.8924, allocations: 24.02 kB / 0.5025 GB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.8924, allocations: 13.88 kB / 0.5025 GB, free: 91.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/0.8934, allocations: 1.277 MB / 0.5038 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8934, allocations: 2.375 kB / 0.5038 GB, free: 90.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.8951, allocations: 0.736 MB / 0.5045 GB, free: 89.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003682/0.8955, allocations: 188.9 kB / 0.5047 GB, free: 89.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.8957, allocations: 17.48 kB / 0.5047 GB, free: 89.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/0.8963, allocations: 27.22 kB / 0.5047 GB, free: 89.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.8964, allocations: 26.31 kB / 0.5048 GB, free: 89.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.8965, allocations: 11.53 kB / 0.5048 GB, free: 89.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.8975, allocations: 0.5292 MB / 0.5053 GB, free: 89.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8975, allocations: 1.094 kB / 0.5053 GB, free: 89.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001209/0.8988, allocations: 222 kB / 0.5055 GB, free: 89.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005113/0.8993, allocations: 295.6 kB / 0.5058 GB, free: 89.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.9006, allocations: 0.5408 MB / 0.5063 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9007, allocations: 0 / 0.5063 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.9012, allocations: 269.6 kB / 0.5066 GB, free: 89.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.9027, allocations: 199.4 kB / 0.5068 GB, free: 89.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.9065, allocations: 2.131 MB / 0.5088 GB, free: 88.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.907, allocations: 1.015 MB / 0.5098 GB, free: 87.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.9073, allocations: 57.81 kB / 0.5099 GB, free: 87.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.9073, allocations: 0 / 0.5099 GB, free: 87.34 MB / 378.7 MB Notification: Performance of Templates: time 0.02668/0.934, allocations: 16.06 MB / 0.5256 GB, free: 84.87 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches