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.001077/0.001077, allocations: 102 kB / 18.4 MB, free: 4.66 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.001076/0.001076, allocations: 190.5 kB / 19.33 MB, free: 3.738 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.208/1.208, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001184/0.001184, allocations: 51.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07356/0.07476, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.1579/0.2327, allocations: 10.14 MB / 386 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005274/0.238, allocations: 3.28 MB / 389.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.2396, allocations: 51.09 kB / 389.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001843/0.2415, allocations: 0.702 MB / 390 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.244, allocations: 0.8409 MB / 390.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2451, allocations: 409.8 kB / 391.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003366/0.2485, allocations: 2.971 MB / 394.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/0.2513, allocations: 2.432 MB / 396.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.2534, allocations: 1.353 MB / 398 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.2559, allocations: 1.699 MB / 399.7 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006257/0.2566, allocations: 354 kB / 400 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2577, allocations: 452.9 kB / 400.5 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008979/0.2586, allocations: 1.016 MB / 401.5 MB, free: 176 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.2604, allocations: 1.611 MB / 403.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004358/0.2648, allocations: 4.673 MB / 407.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2648, allocations: 0 / 407.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2648, allocations: 0 / 407.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.193e-05/0.2649, allocations: 1.375 kB / 407.8 MB, free: 12.29 MB / 334.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.005613/0.2705, allocations: 3.26 MB / 411 MB, free: 10.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2705, allocations: 8.812 kB / 411 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007331/0.2713, allocations: 325.5 kB / 411.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.2736, allocations: 1.66 MB / 413 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.2737, allocations: 179.1 kB / 413.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.274, allocations: 242.5 kB / 413.4 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.2786, allocations: 3.132 MB / 416.6 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.2786, allocations: 7.906 kB / 416.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.2788, allocations: 92 kB / 416.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.279, allocations: 104.6 kB / 416.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.283, allocations: 2.696 MB / 419.5 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.2956, allocations: 9.622 MB / 429.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.2981, allocations: 2.17 MB / 431.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.2999, allocations: 1.116 MB / 432.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.3001, allocations: 219.1 kB / 432.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.3002, allocations: 43.56 kB / 432.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.116e-06/0.3002, allocations: 0 / 432.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01275/0.3129, allocations: 6.702 MB / 439.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.313, allocations: 64.72 kB / 439.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.3153, allocations: 1.746 MB / 441.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.946e-05/0.3154, allocations: 45.7 kB / 441.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/0.3162, allocations: 1.155 MB / 442.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.3165, allocations: 457.5 kB / 442.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.3169, allocations: 287.3 kB / 443.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.3171, allocations: 309.1 kB / 443.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.3183, allocations: 0.7925 MB / 444.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.3197, allocations: 1.206 MB / 445.4 MB, free: 8.949 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.3224, allocations: 2.095 MB / 447.5 MB, free: 6.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.3224, allocations: 4 kB / 447.5 MB, free: 6.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003908/0.3263, allocations: 2.667 MB / 450.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.3263, allocations: 12 kB / 450.1 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/0.3264, allocations: 12 kB / 450.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008535/0.3272, allocations: 424.1 kB / 450.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.3285, allocations: 367.4 kB / 450.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/0.3346, allocations: 7.061 MB / 458 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.3357, allocations: 103.9 kB / 458.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.3359, allocations: 71.98 kB / 458.2 MB, free: 11.51 MB / 382.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.001118/0.337, allocations: 0.79 MB / 459 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.3373, allocations: 181.8 kB / 459.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00361/0.3409, allocations: 2.375 MB / 461.5 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3409, allocations: 15.94 kB / 461.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3409, allocations: 4 kB / 461.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3409, allocations: 3.984 kB / 461.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007306/0.3483, allocations: 5.102 MB / 466.6 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3483, allocations: 3.984 kB / 466.6 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/0.3492, allocations: 239.6 kB / 466.9 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.3503, allocations: 455.1 kB / 467.3 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/0.3504, allocations: 35.98 kB / 467.3 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00732/0.3577, allocations: 8.633 MB / 476 MB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.3577, allocations: 7.938 kB / 476 MB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/0.3627, allocations: 3.533 MB / 479.5 MB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008605/0.3636, allocations: 430.7 kB / 479.9 MB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/0.364, allocations: 32 kB / 480 MB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.3651, allocations: 87.89 kB / 480.1 MB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.3654, allocations: 120.7 kB / 480.2 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.447e-05/0.3654, allocations: 39.98 kB / 480.2 MB, free: 4.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001765/0.3672, allocations: 1.202 MB / 481.4 MB, free: 3.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3672, allocations: 0 / 481.4 MB, free: 3.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001819/0.3691, allocations: 0.5 MB / 481.9 MB, free: 2.879 MB / 398.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.0003866/0.3694, allocations: 202.9 kB / 482.1 MB, free: 2.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.3731, allocations: 2.468 MB / 484.6 MB, free: 152 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3731, allocations: 4 kB / 484.6 MB, free: 148 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002309/0.3754, allocations: 1.619 MB / 486.2 MB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.3775, allocations: 475.5 kB / 486.7 MB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/0.3852, allocations: 5.04 MB / 491.7 MB, free: 8.883 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.3869, allocations: 1.961 MB / 493.7 MB, free: 6.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/0.3874, allocations: 139.4 kB / 493.8 MB, free: 6.75 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3874, allocations: 0 / 493.8 MB, free: 6.75 MB / 414.1 MB Notification: Performance of Templates: time 0.2388/0.6262, allocations: 79.41 MB / 0.5598 GB, free: 156.2 MB / 478.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/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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