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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 108.6 kB / 21.93 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 214 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.91 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2388, allocations: 49.15 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009279/0.248, allocations: 8.972 MB / 406.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.2538, allocations: 3.116 MB / 409.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.2553, allocations: 66.06 kB / 409.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001729/0.257, allocations: 0.6872 MB / 410.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.2595, allocations: 0.8853 MB / 411.3 MB, free: 368 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008979/0.2604, allocations: 419.6 kB / 411.7 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00376/0.2642, allocations: 2.974 MB / 414.7 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.2661, allocations: 1.303 MB / 416 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.2683, allocations: 1.382 MB / 417.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.2712, allocations: 1.651 MB / 419.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006449/0.2719, allocations: 358.5 kB / 419.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.273, allocations: 448.1 kB / 419.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.2741, allocations: 1.03 MB / 420.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.276, allocations: 1.3 MB / 422.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005619/0.2816, allocations: 4.722 MB / 426.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2816, allocations: 0 / 426.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2816, allocations: 0 / 426.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001159/0.2817, allocations: 0 / 426.9 MB, free: 5.797 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.007127/0.2889, allocations: 3.256 MB / 430.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2889, allocations: 15.98 kB / 430.2 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008265/0.2897, allocations: 342.9 kB / 430.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003571/0.2933, allocations: 1.604 MB / 432.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.2935, allocations: 172.8 kB / 432.3 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.2939, allocations: 235.9 kB / 432.5 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005638/0.2995, allocations: 3.237 MB / 435.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.087e-05/0.2996, allocations: 0 / 435.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/0.2998, allocations: 99.94 kB / 435.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.2999, allocations: 104.6 kB / 435.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.3049, allocations: 2.692 MB / 438.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.3203, allocations: 8.4 MB / 447 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.3229, allocations: 1.41 MB / 448.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.3249, allocations: 1.044 MB / 449.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.3251, allocations: 52.97 kB / 449.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.3251, allocations: 43.56 kB / 449.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.356e-06/0.3251, allocations: 0 / 449.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01444/0.3396, allocations: 6.269 MB / 455.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.3396, allocations: 64.72 kB / 455.9 MB, free: 8.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.3422, allocations: 1.61 MB / 457.5 MB, free: 6.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.3423, allocations: 45.7 kB / 457.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009858/0.3433, allocations: 1.193 MB / 458.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.3437, allocations: 476 kB / 459.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.3442, allocations: 283.5 kB / 459.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3444, allocations: 305.1 kB / 459.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.3457, allocations: 0.7925 MB / 460.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.3474, allocations: 1.206 MB / 461.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003189/0.3506, allocations: 2.095 MB / 463.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.3506, allocations: 4 kB / 463.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004877/0.3555, allocations: 2.577 MB / 466.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.3555, allocations: 15.98 kB / 466.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.3556, allocations: 12 kB / 466.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.3566, allocations: 423.4 kB / 466.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.358, allocations: 355.4 kB / 467.3 MB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.3656, allocations: 6.643 MB / 473.9 MB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.3671, allocations: 103.9 kB / 474 MB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.3672, allocations: 71.98 kB / 474.1 MB, free: 5.34 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.001498/0.3687, allocations: 0.7978 MB / 474.9 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004314/0.3692, allocations: 174.9 kB / 475 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0043/0.3735, allocations: 2.28 MB / 477.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.3735, allocations: 12 kB / 477.3 MB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3735, allocations: 8 kB / 477.3 MB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/0.3735, allocations: 7.969 kB / 477.4 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009173/0.3827, allocations: 4.432 MB / 481.8 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.3827, allocations: 4 kB / 481.8 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.3837, allocations: 235.6 kB / 482 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.3849, allocations: 447.5 kB / 482.5 MB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.385, allocations: 43.95 kB / 482.5 MB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009001/0.3941, allocations: 8.08 MB / 490.6 MB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.3941, allocations: 11.97 kB / 490.6 MB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/0.4, allocations: 3.427 MB / 494 MB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.4012, allocations: 358.7 kB / 494.4 MB, free: 412 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.4015, allocations: 39.98 kB / 494.4 MB, free: 372 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/0.4024, allocations: 87.89 kB / 494.5 MB, free: 284 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.4027, allocations: 124.7 kB / 494.6 MB, free: 160 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/0.4028, allocations: 36 kB / 494.6 MB, free: 124 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001766/0.4045, allocations: 1.093 MB / 495.7 MB, free: 15.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4045, allocations: 0 / 495.7 MB, free: 15.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001858/0.4064, allocations: 0.496 MB / 496.2 MB, free: 14.53 MB / 414.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.0004417/0.4068, allocations: 198.9 kB / 496.4 MB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00423/0.4111, allocations: 2.311 MB / 498.7 MB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.4111, allocations: 0 / 498.7 MB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.4138, allocations: 1.564 MB / 0.4886 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.4161, allocations: 425.1 kB / 0.489 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009073/0.4252, allocations: 5.126 MB / 0.494 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.4269, allocations: 1.402 MB / 0.4954 GB, free: 3.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.4275, allocations: 131.4 kB / 0.4955 GB, free: 3.16 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4275, allocations: 0 / 0.4955 GB, free: 3.16 MB / 414.1 MB Notification: Performance of Templates: time 0.254/0.6815, allocations: 79.44 MB / 0.5731 GB, free: 149.2 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.47394420299679]