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.002089/0.002089, allocations: 177.8 kB / 8.363 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 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00111/0.00111, allocations: 92.44 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.539e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3246, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.4762, allocations: 96.36 MB / 458.7 MB, free: 5.914 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.4766, allocations: 79.95 kB / 458.8 MB, free: 5.836 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1132/0.5898, allocations: 25.87 MB / 484.6 MB, free: 11.9 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5898, allocations: 0 / 484.6 MB, free: 11.9 MB / 379.1 MB Notification: Performance of Transformations before backend: time 8.266e-05/0.5899, allocations: 23.94 kB / 484.7 MB, free: 11.88 MB / 379.1 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.002895/0.5928, allocations: 1.105 MB / 485.8 MB, free: 10.73 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5929, allocations: 8.031 kB / 485.8 MB, free: 10.72 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009543/0.5939, allocations: 174.4 kB / 486 MB, free: 10.55 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.5962, allocations: 0.7574 MB / 486.7 MB, free: 9.746 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.5963, allocations: 36.61 kB / 486.7 MB, free: 9.711 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.5965, allocations: 63.98 kB / 486.8 MB, free: 9.648 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001653/0.5982, allocations: 0.5156 MB / 487.3 MB, free: 9.133 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.6003, allocations: 0.7318 MB / 488.1 MB, free: 8.375 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.409e-05/0.6004, allocations: 11.91 kB / 488.1 MB, free: 8.363 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.85e-05/0.6005, allocations: 0 / 488.1 MB, free: 8.363 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.6006, allocations: 31.94 kB / 488.1 MB, free: 8.332 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008137/0.6087, allocations: 3.75 MB / 491.8 MB, free: 4.352 MB / 379.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.6094, allocations: 313.7 kB / 492.2 MB, free: 4.023 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.6098, allocations: 121.4 kB / 492.3 MB, free: 3.902 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.6098, allocations: 16.14 kB / 492.3 MB, free: 3.887 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.6099, allocations: 38.84 kB / 492.3 MB, free: 3.84 MB / 379.1 MB Notification: Performance of pre-optimization done (n=33): time 2.585e-06/0.6099, allocations: 0 / 492.3 MB, free: 3.84 MB / 379.1 MB Notification: Performance of matching and sorting (n=36): time 0.002396/0.6123, allocations: 0.8852 MB / 493.2 MB, free: 2.895 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.6124, allocations: 89.11 kB / 493.3 MB, free: 2.789 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.6136, allocations: 0.5702 MB / 493.9 MB, free: 2.215 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.6137, allocations: 25.7 kB / 493.9 MB, free: 2.184 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/0.6142, allocations: 0.5897 MB / 494.5 MB, free: 1.586 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.6144, allocations: 130.1 kB / 494.6 MB, free: 1.457 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.6145, allocations: 0 / 494.6 MB, free: 1.457 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6146, allocations: 334.8 kB / 494.9 MB, free: 1.121 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.615, allocations: 113.6 kB / 495 MB, free: 1.012 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.6155, allocations: 424.2 kB / 495.5 MB, free: 464 kB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004727/0.616, allocations: 183 kB / 495.6 MB, free: 284 kB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.6161, allocations: 4 kB / 495.6 MB, free: 280 kB / 379.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001418/0.6175, allocations: 0.5126 MB / 496.2 MB, free: 15.75 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.6176, allocations: 12 kB / 496.2 MB, free: 15.74 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.6176, allocations: 8 kB / 496.2 MB, free: 15.73 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002175/0.6178, allocations: 40.8 kB / 496.2 MB, free: 15.69 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009952/0.6188, allocations: 164.2 kB / 496.4 MB, free: 15.53 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.6201, allocations: 1.233 MB / 497.6 MB, free: 14.18 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.6211, allocations: 31.95 kB / 497.6 MB, free: 14.15 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.6212, allocations: 32 kB / 497.7 MB, free: 14.12 MB / 395.1 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 () * 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.000194/0.6214, allocations: 133.6 kB / 497.8 MB, free: 13.98 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.6216, allocations: 79 kB / 497.9 MB, free: 13.91 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/0.6225, allocations: 309.8 kB / 498.2 MB, free: 13.59 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.6225, allocations: 4 kB / 498.2 MB, free: 13.59 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6226, allocations: 0 / 498.2 MB, free: 13.59 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.6226, allocations: 3.984 kB / 498.2 MB, free: 13.58 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.6251, allocations: 1.059 MB / 499.3 MB, free: 12.45 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.6252, allocations: 0 / 499.3 MB, free: 12.45 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.6258, allocations: 71.91 kB / 499.3 MB, free: 12.38 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/0.626, allocations: 29.06 kB / 499.3 MB, free: 12.35 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.626, allocations: 4 kB / 499.4 MB, free: 12.35 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.6272, allocations: 1.229 MB / 0.4888 GB, free: 11 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.6273, allocations: 4.031 kB / 0.4889 GB, free: 11 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.6286, allocations: 0.6352 MB / 0.4895 GB, free: 10.28 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.629, allocations: 176.2 kB / 0.4896 GB, free: 10.09 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6292, allocations: 11.95 kB / 0.4897 GB, free: 10.08 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.6298, allocations: 19.98 kB / 0.4897 GB, free: 10.06 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.6299, allocations: 31.89 kB / 0.4897 GB, free: 10.03 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.6299, allocations: 12 kB / 0.4897 GB, free: 10.02 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0008861/0.6308, allocations: 439.1 kB / 0.4901 GB, free: 9.594 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6309, allocations: 0 / 0.4901 GB, free: 9.594 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001183/0.6321, allocations: 179.9 kB / 0.4903 GB, free: 9.418 MB / 395.1 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 () * 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.0005539/0.6326, allocations: 260.5 kB / 0.4906 GB, free: 9.164 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.001127/0.6338, allocations: 437.9 kB / 0.491 GB, free: 8.727 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6338, allocations: 6.125 kB / 0.491 GB, free: 8.723 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.6343, allocations: 225.6 kB / 0.4912 GB, free: 8.492 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.6358, allocations: 171.6 kB / 0.4914 GB, free: 8.324 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.6394, allocations: 1.266 MB / 0.4926 GB, free: 7 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008775/0.6404, allocations: 1.015 MB / 0.4936 GB, free: 5.957 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.6407, allocations: 55.38 kB / 0.4936 GB, free: 5.902 MB / 395.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6407, allocations: 0 / 0.4936 GB, free: 5.902 MB / 395.1 MB Notification: Performance of Templates: time 0.2892/0.9299, allocations: 15.28 MB / 0.5086 GB, free: 107.4 MB / 395.1 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