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.002055/0.002055, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.237/3.237, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001381/0.001381, allocations: 89.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005348, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4569/0.4575, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.648, allocations: 97.26 MB / 473 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005164/0.6486, allocations: 87.95 kB / 473.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1138/0.7624, allocations: 26.14 MB / 499.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.507e-06/0.7625, allocations: 0 / 499.2 MB, free: 4.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001471/0.7626, allocations: 23.94 kB / 499.2 MB, free: 4.922 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.005349/0.768, allocations: 1.231 MB / 0.4887 GB, free: 3.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.702e-05/0.7681, allocations: 12.03 kB / 0.4888 GB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.7696, allocations: 171.3 kB / 0.4889 GB, free: 3.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.7729, allocations: 0.7903 MB / 0.4897 GB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.7731, allocations: 74 kB / 0.4898 GB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.7735, allocations: 95.91 kB / 0.4898 GB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.7772, allocations: 0.9268 MB / 0.4908 GB, free: 1.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.368e-05/0.7773, allocations: 7.984 kB / 0.4908 GB, free: 1.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.7775, allocations: 40 kB / 0.4908 GB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.7775, allocations: 24 kB / 0.4908 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.7801, allocations: 0.6364 MB / 0.4914 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3977/1.178, allocations: 3.938 MB / 0.4953 GB, free: 95.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007024/1.179, allocations: 358.6 kB / 0.4956 GB, free: 95.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/1.179, allocations: 153.6 kB / 0.4958 GB, free: 95.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/1.179, allocations: 3.094 kB / 0.4958 GB, free: 95.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/1.179, allocations: 47.09 kB / 0.4958 GB, free: 95.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 5.039e-06/1.179, allocations: 0 / 0.4958 GB, free: 95.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003155/1.182, allocations: 1.24 MB / 0.497 GB, free: 95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/1.182, allocations: 83.45 kB / 0.4971 GB, free: 94.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/1.184, allocations: 0.7777 MB / 0.4979 GB, free: 94.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/1.184, allocations: 33.33 kB / 0.4979 GB, free: 94.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004051/1.184, allocations: 0.5629 MB / 0.4985 GB, free: 94.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.184, allocations: 140.8 kB / 0.4986 GB, free: 94.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/1.184, allocations: 12.97 kB / 0.4986 GB, free: 94.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.628e-05/1.184, allocations: 337.8 kB / 0.4989 GB, free: 94.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/1.185, allocations: 154.9 kB / 0.4991 GB, free: 94.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/1.185, allocations: 467.2 kB / 0.4995 GB, free: 93.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009897/1.186, allocations: 0.6451 MB / 0.5001 GB, free: 93.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.186, allocations: 8.625 kB / 0.5002 GB, free: 93.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001839/1.188, allocations: 0.712 MB / 0.5009 GB, free: 93.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/1.188, allocations: 10.19 kB / 0.5009 GB, free: 93.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.188, allocations: 9.281 kB / 0.5009 GB, free: 93.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000266/1.189, allocations: 31.23 kB / 0.5009 GB, free: 93.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/1.189, allocations: 166.6 kB / 0.5011 GB, free: 93.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/1.19, allocations: 1.286 MB / 0.5023 GB, free: 92.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/1.191, allocations: 43.5 kB / 0.5024 GB, free: 92.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/1.191, allocations: 34.34 kB / 0.5024 GB, free: 92.05 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.0006119/1.192, allocations: 256.9 kB / 0.5026 GB, free: 91.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.192, allocations: 86.78 kB / 0.5027 GB, free: 91.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009531/1.193, allocations: 403.1 kB / 0.5031 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/1.193, allocations: 3.094 kB / 0.5031 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/1.193, allocations: 1.406 kB / 0.5031 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/1.193, allocations: 0 / 0.5031 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/1.195, allocations: 1.266 MB / 0.5043 GB, free: 91.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.195, allocations: 0.8438 kB / 0.5043 GB, free: 91.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003893/1.196, allocations: 80.62 kB / 0.5044 GB, free: 91.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/1.196, allocations: 22.45 kB / 0.5044 GB, free: 91.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/1.196, allocations: 11.59 kB / 0.5045 GB, free: 91.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009411/1.197, allocations: 1.278 MB / 0.5057 GB, free: 90.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.197, allocations: 2.938 kB / 0.5057 GB, free: 90.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.198, allocations: 0.6553 MB / 0.5063 GB, free: 89.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/1.199, allocations: 187.3 kB / 0.5065 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/1.199, allocations: 10.16 kB / 0.5065 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/1.2, allocations: 31.48 kB / 0.5066 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.2, allocations: 34.77 kB / 0.5066 GB, free: 89.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/1.2, allocations: 13.94 kB / 0.5066 GB, free: 89.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001533/1.201, allocations: 0.5276 MB / 0.5071 GB, free: 89.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.201, allocations: 0 / 0.5071 GB, free: 89.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001933/1.203, allocations: 220.3 kB / 0.5073 GB, free: 89.7 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.0009851/1.204, allocations: 301.3 kB / 0.5076 GB, free: 89.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001654/1.206, allocations: 0.5211 MB / 0.5081 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.206, allocations: 0 / 0.5081 GB, free: 89.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/1.207, allocations: 280.4 kB / 0.5084 GB, free: 89.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.208, allocations: 194.8 kB / 0.5086 GB, free: 89.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/1.212, allocations: 2.132 MB / 0.5107 GB, free: 88.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/1.213, allocations: 0.9894 MB / 0.5116 GB, free: 87.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.213, allocations: 66.06 kB / 0.5117 GB, free: 87.32 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/1.213, allocations: 0 / 0.5117 GB, free: 87.32 MB / 378.7 MB Notification: Performance of Templates: time 0.03251/1.245, allocations: 16.51 MB / 0.5278 GB, free: 84.27 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