Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 181.1 kB / 13.66 MB, free: 1.664 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.965/1.965, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001068/0.001068, allocations: 90.69 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.252e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09344/0.0935, allocations: 47.58 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.5594, allocations: 107.2 MB / 476.3 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5598, allocations: 86.44 kB / 476.4 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2155/0.7752, allocations: 50.18 MB / 0.5142 GB, free: 1.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7753, allocations: 0 / 0.5142 GB, free: 1.344 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002408/0.7756, allocations: 67.92 kB / 0.5143 GB, free: 1.277 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.008414/0.784, allocations: 2.491 MB / 0.5167 GB, free: 14.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.7841, allocations: 8.031 kB / 0.5167 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.7857, allocations: 332.3 kB / 0.517 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005686/0.7914, allocations: 1.784 MB / 0.5188 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/0.7916, allocations: 172.6 kB / 0.5189 GB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006202/0.7923, allocations: 231.9 kB / 0.5192 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.8036, allocations: 3.037 MB / 0.5221 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.8038, allocations: 4 kB / 0.5221 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005565/0.8044, allocations: 100 kB / 0.5222 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002263/0.8046, allocations: 100.6 kB / 0.5223 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/0.8164, allocations: 2.458 MB / 0.5247 GB, free: 6.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3828/1.199, allocations: 9.761 MB / 0.5343 GB, free: 95.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/1.204, allocations: 2.166 MB / 0.5364 GB, free: 95.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/1.206, allocations: 0.9306 MB / 0.5373 GB, free: 95.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004725/1.206, allocations: 217.4 kB / 0.5375 GB, free: 94.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/1.207, allocations: 50.55 kB / 0.5375 GB, free: 94.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 4.017e-06/1.207, allocations: 0 / 0.5375 GB, free: 94.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.02487/1.231, allocations: 6.522 MB / 0.5439 GB, free: 94.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.232, allocations: 67.72 kB / 0.544 GB, free: 94.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003803/1.235, allocations: 1.509 MB / 0.5454 GB, free: 93.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003752/1.236, allocations: 51.28 kB / 0.5455 GB, free: 93.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009436/1.237, allocations: 1.066 MB / 0.5465 GB, free: 93.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006767/1.237, allocations: 489.8 kB / 0.547 GB, free: 93.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.238, allocations: 30.66 kB / 0.547 GB, free: 93.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/1.238, allocations: 373.6 kB / 0.5474 GB, free: 92.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/1.24, allocations: 0.8 MB / 0.5482 GB, free: 92.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/1.242, allocations: 1.182 MB / 0.5493 GB, free: 92.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/1.244, allocations: 0.975 MB / 0.5503 GB, free: 92.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.244, allocations: 6.062 kB / 0.5503 GB, free: 92.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00655/1.251, allocations: 2.606 MB / 0.5528 GB, free: 92.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/1.251, allocations: 15.22 kB / 0.5528 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/1.251, allocations: 11.59 kB / 0.5529 GB, free: 92.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00235/1.253, allocations: 0.5862 MB / 0.5534 GB, free: 92.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/1.256, allocations: 365 kB / 0.5538 GB, free: 92.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.266, allocations: 6.325 MB / 0.56 GB, free: 89.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/1.269, allocations: 118.1 kB / 0.5601 GB, free: 89.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/1.269, allocations: 62.28 kB / 0.5601 GB, free: 89.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004225/1.269, allocations: 199.3 kB / 0.5603 GB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/1.27, allocations: 192 kB / 0.5605 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006308/1.276, allocations: 2.514 MB / 0.563 GB, free: 88.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.276, allocations: 15.05 kB / 0.563 GB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.276, allocations: 14.11 kB / 0.563 GB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/1.276, allocations: 6.375 kB / 0.563 GB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.289, allocations: 5.264 MB / 0.5681 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/1.289, allocations: 3.969 kB / 0.5681 GB, free: 86.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.291, allocations: 236.8 kB / 0.5684 GB, free: 86.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002718/1.294, allocations: 0.6471 MB / 0.569 GB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/1.294, allocations: 39.09 kB / 0.569 GB, free: 86.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/1.306, allocations: 8.046 MB / 0.5769 GB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.306, allocations: 1.875 kB / 0.5769 GB, free: 80.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008347/1.314, allocations: 3.838 MB / 0.5806 GB, free: 78.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.316, allocations: 459.3 kB / 0.5811 GB, free: 78.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003883/1.316, allocations: 34.56 kB / 0.5811 GB, free: 78.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/1.318, allocations: 99.55 kB / 0.5812 GB, free: 78.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/1.318, allocations: 126.7 kB / 0.5813 GB, free: 78.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.318, allocations: 45.27 kB / 0.5814 GB, free: 78.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002307/1.321, allocations: 1.156 MB / 0.5825 GB, free: 78.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.321, allocations: 0 / 0.5825 GB, free: 78.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002452/1.323, allocations: 0.5706 MB / 0.583 GB, free: 78.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006775/1.324, allocations: 316.5 kB / 0.5834 GB, free: 77.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005674/1.33, allocations: 2.482 MB / 0.5858 GB, free: 76.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.33, allocations: 3.969 kB / 0.5858 GB, free: 76.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003787/1.334, allocations: 1.625 MB / 0.5874 GB, free: 76.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/1.337, allocations: 443.2 kB / 0.5878 GB, free: 76.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/1.346, allocations: 4.187 MB / 0.5919 GB, free: 74.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/1.348, allocations: 2.046 MB / 0.5939 GB, free: 73.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/1.349, allocations: 136.1 kB / 0.594 GB, free: 73.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.349, allocations: 0 / 0.594 GB, free: 73.29 MB / 410.7 MB Notification: Performance of Templates: time 0.09806/1.447, allocations: 65.32 MB / 0.6578 GB, free: 18.31 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches