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.001395/0.001395, allocations: 107.9 kB / 18.4 MB, free: 4.699 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.001642/0.001642, allocations: 187.3 kB / 19.34 MB, free: 3.777 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.276/1.276, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001713/0.001713, allocations: 52.34 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07705/0.07877, 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.1499/0.2287, allocations: 10.14 MB / 386 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.2333, allocations: 3.283 MB / 389.3 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.2342, allocations: 58.59 kB / 389.3 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.2355, allocations: 0.7003 MB / 390 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.2372, allocations: 0.833 MB / 390.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.238, allocations: 409.7 kB / 391.2 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.2405, allocations: 2.966 MB / 394.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/0.2428, allocations: 2.446 MB / 396.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.2444, allocations: 1.332 MB / 398 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.2463, allocations: 1.698 MB / 399.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004545/0.2468, allocations: 355.1 kB / 400 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008367/0.2476, allocations: 459.6 kB / 400.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008462/0.2485, allocations: 1.012 MB / 401.5 MB, free: 188 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.2501, allocations: 1.612 MB / 403.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004157/0.2543, allocations: 4.67 MB / 407.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2543, allocations: 0 / 407.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2543, allocations: 5.281 kB / 407.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.364e-05/0.2544, allocations: 0 / 407.8 MB, free: 12.31 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.006023/0.2604, allocations: 3.25 MB / 411 MB, free: 10.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.2605, allocations: 12.72 kB / 411 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.2613, allocations: 331.9 kB / 411.4 MB, free: 9.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.2639, allocations: 1.656 MB / 413 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.264, allocations: 176.1 kB / 413.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.2643, allocations: 236.6 kB / 413.4 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/0.2693, allocations: 3.128 MB / 416.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.2694, allocations: 11.89 kB / 416.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.2696, allocations: 96 kB / 416.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.2698, allocations: 112.5 kB / 416.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004362/0.2741, allocations: 2.692 MB / 419.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01372/0.2879, allocations: 9.622 MB / 429.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.2905, allocations: 2.184 MB / 431.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001853/0.2923, allocations: 1.105 MB / 432.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.2926, allocations: 215.9 kB / 432.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2927, allocations: 43.56 kB / 432.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.116e-06/0.2927, allocations: 4 kB / 432.6 MB, free: 6.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01367/0.3064, allocations: 6.698 MB / 439.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.3064, allocations: 64.72 kB / 439.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.3087, allocations: 1.739 MB / 441.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-05/0.3088, allocations: 49.7 kB / 441.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007923/0.3096, allocations: 1.155 MB / 442.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.31, allocations: 457.5 kB / 442.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004552/0.3104, allocations: 283.3 kB / 443.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.3105, allocations: 309 kB / 443.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.3118, allocations: 0.7925 MB / 444.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.3133, allocations: 1.202 MB / 445.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.3161, allocations: 2.095 MB / 447.4 MB, free: 6.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3162, allocations: 11.94 kB / 447.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004184/0.3203, allocations: 2.659 MB / 450.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3204, allocations: 12 kB / 450.1 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3204, allocations: 12 kB / 450.1 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/0.3213, allocations: 427.4 kB / 450.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.3227, allocations: 363.4 kB / 450.9 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006652/0.3293, allocations: 7.066 MB / 458 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3308, allocations: 103.9 kB / 458.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.3309, allocations: 64 kB / 458.1 MB, free: 11.55 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.001347/0.3323, allocations: 0.7939 MB / 458.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.3326, allocations: 185.8 kB / 459.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.3364, allocations: 2.371 MB / 461.5 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.3365, allocations: 7.969 kB / 461.5 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3365, allocations: 11.88 kB / 461.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007311/0.3372, allocations: 430.7 kB / 461.9 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.3375, allocations: 31.98 kB / 462 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/0.3384, allocations: 95.88 kB / 462.1 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.3386, allocations: 113.1 kB / 462.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0046/0.3432, allocations: 2.363 MB / 464.5 MB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004216/0.3474, allocations: 3.018 MB / 467.5 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00118/0.3486, allocations: 0.8495 MB / 468.4 MB, free: 1.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001655/0.3503, allocations: 1.202 MB / 469.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of Backend: time 2.9e-07/0.3503, allocations: 0 / 469.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003522/0.3538, allocations: 1.908 MB / 471.5 MB, free: 14.01 MB / 398.1 MB Notification: Performance of SimCode: time 0.007348/0.3612, allocations: 5.226 MB / 476.7 MB, free: 8.73 MB / 398.1 MB Notification: Performance of Templates: time 0.04533/0.4065, allocations: 29.6 MB / 0.4945 GB, free: 11.07 MB / 430.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