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.001517/0.001517, allocations: 179.2 kB / 16.41 MB, free: 5.727 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.563/1.563, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007605/0.0007605, allocations: 84.5 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.0002802, allocations: 11.98 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1939, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.007716/0.2017, allocations: 8.956 MB / 383.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005131/0.2068, allocations: 3.09 MB / 386.6 MB, free: 35.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.2083, allocations: 46.81 kB / 386.7 MB, free: 35.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.2099, allocations: 0.5597 MB / 387.2 MB, free: 35.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.2123, allocations: 0.7125 MB / 387.9 MB, free: 34.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008037/0.2132, allocations: 257.5 kB / 388.2 MB, free: 34.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.216, allocations: 3.036 MB / 391.2 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.2179, allocations: 1.62 MB / 392.8 MB, free: 30.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.2193, allocations: 0.9999 MB / 393.8 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.221, allocations: 1.393 MB / 395.2 MB, free: 28.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004415/0.2215, allocations: 152 kB / 395.4 MB, free: 27.94 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008492/0.2223, allocations: 223.9 kB / 395.6 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006884/0.223, allocations: 0.771 MB / 396.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007243/0.2238, allocations: 0.551 MB / 396.9 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.2261, allocations: 3.744 MB / 400.7 MB, free: 22.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2261, allocations: 0 / 400.7 MB, free: 22.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2261, allocations: 0 / 400.7 MB, free: 22.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.805e-05/0.2262, allocations: 0 / 400.7 MB, free: 22.63 MB / 298.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.004113/0.2303, allocations: 2.797 MB / 403.5 MB, free: 19.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2304, allocations: 8.031 kB / 403.5 MB, free: 19.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006128/0.231, allocations: 336.2 kB / 403.8 MB, free: 19.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001982/0.233, allocations: 1.573 MB / 405.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.2331, allocations: 184.6 kB / 405.5 MB, free: 17.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002428/0.2334, allocations: 243.8 kB / 405.8 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.2374, allocations: 3.125 MB / 408.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/0.2375, allocations: 7.984 kB / 408.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.2377, allocations: 99.98 kB / 409 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.986e-05/0.2378, allocations: 108.5 kB / 409.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003583/0.2414, allocations: 2.708 MB / 411.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.2528, allocations: 9.779 MB / 421.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.2551, allocations: 2.182 MB / 423.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.257, allocations: 1.131 MB / 424.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.2573, allocations: 207.2 kB / 425.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.2573, allocations: 51.56 kB / 425.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 4.058e-06/0.2573, allocations: 0 / 425.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01305/0.2704, allocations: 6.804 MB / 432 MB, free: 6.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.2705, allocations: 64.72 kB / 432 MB, free: 6.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.2728, allocations: 1.735 MB / 433.8 MB, free: 4.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.2729, allocations: 49.69 kB / 433.8 MB, free: 4.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007626/0.2737, allocations: 1.148 MB / 435 MB, free: 3.395 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.274, allocations: 457.5 kB / 435.4 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.2741, allocations: 32 kB / 435.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2743, allocations: 369.8 kB / 435.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.2755, allocations: 0.8042 MB / 436.6 MB, free: 1.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/0.2769, allocations: 1.206 MB / 437.8 MB, free: 368 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.2783, allocations: 0.9744 MB / 438.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.2783, allocations: 4 kB / 438.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004079/0.2824, allocations: 2.682 MB / 441.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2824, allocations: 13.41 kB / 441.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.2825, allocations: 15.95 kB / 441.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009405/0.2834, allocations: 419.2 kB / 441.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.2847, allocations: 363.4 kB / 442.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005943/0.2907, allocations: 6.494 MB / 448.8 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.292, allocations: 111.9 kB / 448.9 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.2922, allocations: 64 kB / 448.9 MB, free: 4.781 MB / 330.7 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[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 initialization (174): * Single equations (assignments): 170 * 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: 3 * 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: 3 {(3,100.0%) 11,(1,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001284/0.2934, allocations: 0.7861 MB / 449.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/0.2938, allocations: 185.8 kB / 449.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/0.2974, allocations: 2.391 MB / 452.3 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.2975, allocations: 12 kB / 452.3 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2975, allocations: 4 kB / 452.3 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.2975, allocations: 20 kB / 452.3 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007985/0.3055, allocations: 5.134 MB / 457.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.3055, allocations: 12.03 kB / 457.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009973/0.3065, allocations: 239.6 kB / 457.7 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.3077, allocations: 454.9 kB / 458.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.994e-05/0.3078, allocations: 31.98 kB / 458.2 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/0.3148, allocations: 7.935 MB / 466.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/0.3148, allocations: 7.938 kB / 466.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/0.3202, allocations: 3.558 MB / 469.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000891/0.3211, allocations: 434.7 kB / 470.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003769/0.3215, allocations: 32 kB / 470.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.3226, allocations: 99.84 kB / 470.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.3228, allocations: 116.8 kB / 470.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.3229, allocations: 43.98 kB / 470.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001807/0.3248, allocations: 1.19 MB / 471.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3248, allocations: 0 / 471.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001756/0.3265, allocations: 0.5001 MB / 472.1 MB, free: 12.78 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 11,(1,100.0%) 1,(1,100.0%) 6,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003143/0.3269, allocations: 163 kB / 472.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003731/0.3306, allocations: 2.467 MB / 474.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.3306, allocations: 9.75 kB / 474.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.333, allocations: 1.625 MB / 476.3 MB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/0.3353, allocations: 452.8 kB / 476.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008404/0.3437, allocations: 5.975 MB / 482.8 MB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/0.3455, allocations: 1.965 MB / 484.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005037/0.346, allocations: 135.4 kB / 484.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of SimCode: time 6.82e-07/0.346, allocations: 0 / 484.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of Templates: time 0.2/0.546, allocations: 78.79 MB / 0.5504 GB, free: 52.25 MB / 378.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/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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches