Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008034/0.0008035, allocations: 98.78 kB / 17.3 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008236/0.0008237, allocations: 177.5 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005775/0.0005778, allocations: 12 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1324, allocations: 47.58 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01126/0.1437, allocations: 9.528 MB / 338.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007979/0.1517, allocations: 3.214 MB / 341.7 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.1537, allocations: 51.75 kB / 341.8 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.1559, allocations: 0.5943 MB / 342.4 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.1589, allocations: 0.7694 MB / 343.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000974/0.1599, allocations: 359.6 kB / 343.5 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004353/0.1643, allocations: 3.386 MB / 346.9 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.1668, allocations: 2.037 MB / 348.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.1689, allocations: 1.003 MB / 349.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.1712, allocations: 1.451 MB / 351.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003403/0.1716, allocations: 148 kB / 351.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007704/0.1724, allocations: 255.8 kB / 351.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008664/0.1733, allocations: 0.7708 MB / 352.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.1749, allocations: 1.366 MB / 353.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004065/0.1789, allocations: 4.367 MB / 358.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.179, allocations: 0 / 358.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.179, allocations: 0 / 358.2 MB, free: 6.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.1791, allocations: 3.938 kB / 358.3 MB, free: 6.285 MB / 302.1 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.006062/0.1852, allocations: 2.774 MB / 361 MB, free: 3.445 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.1852, allocations: 15.97 kB / 361 MB, free: 3.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.1863, allocations: 329.2 kB / 361.4 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.189, allocations: 1.624 MB / 363 MB, free: 1.426 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.1892, allocations: 189 kB / 363.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/0.1896, allocations: 231.9 kB / 363.4 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005583/0.1952, allocations: 3.16 MB / 366.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.739e-05/0.1953, allocations: 4 kB / 366.6 MB, free: 13.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.1955, allocations: 92 kB / 366.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/0.1957, allocations: 108.6 kB / 366.8 MB, free: 13.56 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00525/0.2009, allocations: 2.711 MB / 369.5 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.2161, allocations: 9.809 MB / 379.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1924/0.4086, allocations: 2.173 MB / 381.5 MB, free: 49.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002431/0.4111, allocations: 1.129 MB / 382.6 MB, free: 49.2 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.4114, allocations: 205.3 kB / 382.8 MB, free: 49.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.4114, allocations: 51.11 kB / 382.8 MB, free: 48.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=116): time 2.966e-06/0.4115, allocations: 0 / 382.8 MB, free: 48.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=131): time 0.01509/0.4266, allocations: 6.827 MB / 389.7 MB, free: 46.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.4267, allocations: 66.64 kB / 389.7 MB, free: 46.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.4296, allocations: 1.743 MB / 391.5 MB, free: 45.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.4297, allocations: 50.08 kB / 391.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.4305, allocations: 1.156 MB / 392.7 MB, free: 44.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.4308, allocations: 454.8 kB / 393.1 MB, free: 44.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.4309, allocations: 126.5 kB / 393.2 MB, free: 44.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.431, allocations: 303.1 kB / 393.5 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.4322, allocations: 0.805 MB / 394.3 MB, free: 43.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.4336, allocations: 1.219 MB / 395.6 MB, free: 43.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.4362, allocations: 2.124 MB / 397.7 MB, free: 42.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.4363, allocations: 3.906 kB / 397.7 MB, free: 42.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004285/0.4406, allocations: 2.693 MB / 400.4 MB, free: 40.86 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.4406, allocations: 12 kB / 400.4 MB, free: 40.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.4406, allocations: 15.16 kB / 400.4 MB, free: 40.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/0.4416, allocations: 419.5 kB / 400.8 MB, free: 40.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.4428, allocations: 372 kB / 401.2 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/0.448, allocations: 6.49 MB / 407.7 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.4498, allocations: 118.5 kB / 407.8 MB, free: 34.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.4499, allocations: 60 kB / 407.8 MB, free: 34.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001504/0.4514, allocations: 0.7979 MB / 408.6 MB, free: 33.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/0.4519, allocations: 181.8 kB / 408.8 MB, free: 33.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.4554, allocations: 2.392 MB / 411.2 MB, free: 30.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.4554, allocations: 12 kB / 411.2 MB, free: 30.84 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4555, allocations: 4 kB / 411.2 MB, free: 30.83 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.4555, allocations: 15.91 kB / 411.2 MB, free: 30.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007406/0.4629, allocations: 5.157 MB / 416.4 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.463, allocations: 4 kB / 416.4 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/0.4639, allocations: 244.1 kB / 416.6 MB, free: 25.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.465, allocations: 450.6 kB / 417.1 MB, free: 24.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.98e-05/0.4651, allocations: 35.98 kB / 417.1 MB, free: 24.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005808/0.4709, allocations: 7.942 MB / 425.1 MB, free: 16.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4709, allocations: 7.938 kB / 425.1 MB, free: 16.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.4758, allocations: 3.558 MB / 428.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.4769, allocations: 443.3 kB / 429.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000265/0.4771, allocations: 31.98 kB / 429.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/0.4781, allocations: 95.91 kB / 429.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.4784, allocations: 120.7 kB / 429.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.4784, allocations: 39.98 kB / 429.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.48, allocations: 1.202 MB / 430.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.48, allocations: 4 kB / 430.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001808/0.4818, allocations: 0.5026 MB / 431 MB, free: 10.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003583/0.4822, allocations: 204 kB / 431.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003414/0.4856, allocations: 2.473 MB / 433.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.4856, allocations: 3.938 kB / 433.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002138/0.4878, allocations: 1.621 MB / 435.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/0.4909, allocations: 454.4 kB / 435.8 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007631/0.4986, allocations: 6.212 MB / 442 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.5006, allocations: 2.015 MB / 444 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00175/0.5024, allocations: 439.5 kB / 444.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/0.5028, allocations: 127.4 kB / 444.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5029, allocations: 0.9844 kB / 444.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Templates: time 0.05305/0.5559, allocations: 26.16 MB / 470.7 MB, free: 2.355 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches