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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 107.8 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002868/0.002868, allocations: 189.5 kB / 22.93 MB, free: 5.582 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.684/1.684, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.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=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.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.002521/0.002521, allocations: 51.92 kB / 345.4 MB, free: 10.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3995, allocations: 49.13 MB / 394.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.01157/0.4111, allocations: 10.23 MB / 404.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006842/0.4179, allocations: 3.31 MB / 408.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.4192, allocations: 51.56 kB / 408.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.4211, allocations: 0.7375 MB / 408.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002948/0.4241, allocations: 0.8759 MB / 409.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4253, allocations: 422.1 kB / 410.2 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004821/0.4302, allocations: 2.972 MB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.4325, allocations: 1.353 MB / 414.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.4353, allocations: 1.341 MB / 415.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/0.4387, allocations: 1.744 MB / 417.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00073/0.4394, allocations: 353.4 kB / 417.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.4407, allocations: 463.3 kB / 418.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.442, allocations: 1.029 MB / 419.4 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.4445, allocations: 1.604 MB / 421 MB, free: 8.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00689/0.4514, allocations: 4.69 MB / 425.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4514, allocations: 4 kB / 425.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4514, allocations: 4 kB / 425.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.4515, allocations: 0 / 425.7 MB, free: 4.582 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.008631/0.4601, allocations: 3.332 MB / 429 MB, free: 1.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4602, allocations: 8.031 kB / 429 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009013/0.4611, allocations: 346.9 kB / 429.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003222/0.4643, allocations: 1.664 MB / 431 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/0.4645, allocations: 180.8 kB / 431.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/0.4649, allocations: 232 kB / 431.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006243/0.4711, allocations: 3.133 MB / 434.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.857e-05/0.4712, allocations: 7.938 kB / 434.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/0.4714, allocations: 99.94 kB / 434.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.4716, allocations: 112.5 kB / 434.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005003/0.4766, allocations: 2.688 MB / 437.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01708/0.4937, allocations: 9.656 MB / 447.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.4968, allocations: 2.087 MB / 449.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/0.4987, allocations: 1.042 MB / 450.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/0.4991, allocations: 203.2 kB / 450.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.4991, allocations: 47.56 kB / 450.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.437e-06/0.4991, allocations: 4 kB / 450.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01521/0.5144, allocations: 6.733 MB / 457.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.5144, allocations: 72.66 kB / 457.3 MB, free: 4.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002884/0.5173, allocations: 1.747 MB / 459.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001604/0.5175, allocations: 49.7 kB / 459.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.5185, allocations: 1.186 MB / 460.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004806/0.519, allocations: 472 kB / 460.8 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.5195, allocations: 291.4 kB / 461 MB, free: 312 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5196, allocations: 305.1 kB / 461.3 MB, free: 4 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.5212, allocations: 0.7964 MB / 462.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.523, allocations: 1.21 MB / 463.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003466/0.5265, allocations: 2.091 MB / 465.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.5265, allocations: 4 kB / 465.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005289/0.5318, allocations: 2.668 MB / 468.1 MB, free: 8.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.5318, allocations: 8 kB / 468.1 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.5318, allocations: 12 kB / 468.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.5329, allocations: 419.4 kB / 468.5 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.5343, allocations: 359.4 kB / 468.9 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008556/0.5429, allocations: 7.084 MB / 476 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.5448, allocations: 103.9 kB / 476.1 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.5449, allocations: 63.98 kB / 476.1 MB, free: 396 kB / 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.001893/0.5468, allocations: 0.7978 MB / 476.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/0.5472, allocations: 194.8 kB / 477.1 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004633/0.5518, allocations: 2.371 MB / 479.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5519, allocations: 16.03 kB / 479.5 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5519, allocations: 7.984 kB / 479.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.5519, allocations: 7.984 kB / 479.5 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00979/0.5617, allocations: 5.079 MB / 484.6 MB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/0.5617, allocations: 4.031 kB / 484.6 MB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5627, allocations: 243.6 kB / 484.8 MB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001267/0.564, allocations: 450.9 kB / 485.3 MB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.5641, allocations: 35.98 kB / 485.3 MB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.5746, allocations: 8.636 MB / 494 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5746, allocations: 7.938 kB / 494 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00674/0.5814, allocations: 3.518 MB / 497.5 MB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.5827, allocations: 451.8 kB / 497.9 MB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.5831, allocations: 35.92 kB / 498 MB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5841, allocations: 84.03 kB / 498 MB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/0.5845, allocations: 124.7 kB / 498.2 MB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.5846, allocations: 39.98 kB / 498.2 MB, free: 9.434 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002138/0.5867, allocations: 1.202 MB / 499.4 MB, free: 8.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5867, allocations: 0 / 499.4 MB, free: 8.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002231/0.5889, allocations: 0.5038 MB / 499.9 MB, free: 7.734 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.0004978/0.5894, allocations: 203 kB / 0.4884 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004718/0.5942, allocations: 2.387 MB / 0.4907 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.5942, allocations: 0 / 0.4907 GB, free: 5.082 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.5971, allocations: 1.563 MB / 0.4922 GB, free: 3.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.5998, allocations: 481.9 kB / 0.4927 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.6102, allocations: 5.115 MB / 0.4977 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.6125, allocations: 2.005 MB / 0.4997 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001687/0.6142, allocations: 435.5 kB / 0.5001 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.6146, allocations: 131.4 kB / 0.5002 GB, free: 11.19 MB / 430.1 MB Notification: Performance of SimCode: time 2.725e-06/0.6146, allocations: 0 / 0.5002 GB, free: 11.19 MB / 430.1 MB Notification: Performance of Templates: time 0.06044/0.6751, allocations: 29.04 MB / 0.5286 GB, free: 14.09 MB / 462.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/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","/var/lib/jenkins/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: 6.219039090909064]