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.001432/0.001432, allocations: 103.6 kB / 21.18 MB, free: 320 kB / 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.001562/0.001562, allocations: 216 kB / 24.48 MB, free: 3.535 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.536/1.536, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.002022/0.002022, allocations: 51.92 kB / 347.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2996, allocations: 49.16 MB / 396.9 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.009739/0.3094, allocations: 8.966 MB / 405.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.3154, allocations: 3.115 MB / 408.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.3167, allocations: 65.88 kB / 409 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.3183, allocations: 0.6886 MB / 409.7 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.3207, allocations: 0.8846 MB / 410.6 MB, free: 348 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009215/0.3216, allocations: 415 kB / 411 MB, free: 88 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00366/0.3252, allocations: 2.971 MB / 414 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.3272, allocations: 1.307 MB / 415.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.3297, allocations: 1.386 MB / 416.6 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.3326, allocations: 1.647 MB / 418.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005717/0.3332, allocations: 358.2 kB / 418.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3343, allocations: 452.2 kB / 419.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.3354, allocations: 1.025 MB / 420.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001733/0.3372, allocations: 1.305 MB / 421.4 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005275/0.3424, allocations: 4.724 MB / 426.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3424, allocations: 0 / 426.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3424, allocations: 4 kB / 426.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.892e-05/0.3425, allocations: 0 / 426.1 MB, free: 5.777 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.00691/0.3494, allocations: 3.249 MB / 429.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3495, allocations: 15.98 kB / 429.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.3503, allocations: 346.9 kB / 429.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.3537, allocations: 1.596 MB / 431.3 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.3539, allocations: 184.8 kB / 431.5 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.3543, allocations: 232 kB / 431.7 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005632/0.3599, allocations: 3.237 MB / 435 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/0.36, allocations: 3.938 kB / 435 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002312/0.3602, allocations: 104 kB / 435.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/0.3603, allocations: 104.6 kB / 435.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.3654, allocations: 2.692 MB / 437.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01549/0.3808, allocations: 8.4 MB / 446.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.3835, allocations: 1.406 MB / 447.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002035/0.3855, allocations: 1.04 MB / 448.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.3858, allocations: 56.95 kB / 448.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.3858, allocations: 43.56 kB / 448.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=116): time 3.546e-06/0.3858, allocations: 0 / 448.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=131): time 0.01461/0.4004, allocations: 6.269 MB / 455.1 MB, free: 8.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.4005, allocations: 64.72 kB / 455.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.403, allocations: 1.61 MB / 456.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.65e-05/0.403, allocations: 45.7 kB / 456.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009833/0.404, allocations: 1.185 MB / 458 MB, free: 5.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004247/0.4045, allocations: 480 kB / 458.5 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004996/0.405, allocations: 287.5 kB / 458.8 MB, free: 4.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4051, allocations: 305.1 kB / 459 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.4065, allocations: 0.7925 MB / 459.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.4083, allocations: 1.202 MB / 461 MB, free: 2.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.4116, allocations: 2.098 MB / 463.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.4116, allocations: 0 / 463.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00472/0.4163, allocations: 2.581 MB / 465.7 MB, free: 13.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.4163, allocations: 12 kB / 465.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4163, allocations: 12 kB / 465.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.4173, allocations: 423.4 kB / 466.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4187, allocations: 359.4 kB / 466.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/0.4264, allocations: 6.647 MB / 473.2 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.4278, allocations: 103.8 kB / 473.3 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.4279, allocations: 63.98 kB / 473.3 MB, free: 5.324 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.001611/0.4295, allocations: 0.8018 MB / 474.1 MB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.4299, allocations: 178.9 kB / 474.3 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004328/0.4342, allocations: 2.283 MB / 476.6 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.4342, allocations: 12 kB / 476.6 MB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4342, allocations: 4 kB / 476.6 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4342, allocations: 7.984 kB / 476.6 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008879/0.4431, allocations: 4.428 MB / 481 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.4431, allocations: 4 kB / 481 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4442, allocations: 239.6 kB / 481.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.4454, allocations: 451.4 kB / 481.7 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.4455, allocations: 35.98 kB / 481.7 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009147/0.4546, allocations: 8.076 MB / 489.8 MB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4546, allocations: 4 kB / 489.8 MB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.4605, allocations: 3.442 MB / 493.3 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.4616, allocations: 354.7 kB / 493.6 MB, free: 392 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.4618, allocations: 35.98 kB / 493.7 MB, free: 356 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009393/0.4627, allocations: 87.91 kB / 493.7 MB, free: 268 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.463, allocations: 124.7 kB / 493.9 MB, free: 144 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-05/0.4631, allocations: 39.98 kB / 493.9 MB, free: 104 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001808/0.4649, allocations: 1.085 MB / 495 MB, free: 15.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4649, allocations: 3.938 kB / 495 MB, free: 15.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001802/0.4667, allocations: 0.5 MB / 495.5 MB, free: 14.52 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.0004185/0.4672, allocations: 194.9 kB / 495.7 MB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00422/0.4714, allocations: 2.311 MB / 498 MB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4714, allocations: 0 / 498 MB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.474, allocations: 1.56 MB / 499.5 MB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.4759, allocations: 433.3 kB / 500 MB, free: 9.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008923/0.4848, allocations: 5.086 MB / 0.4932 GB, free: 4.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.4866, allocations: 1.434 MB / 0.4946 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001354/0.488, allocations: 426.3 kB / 0.495 GB, free: 2.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.4884, allocations: 123.4 kB / 0.4951 GB, free: 2.734 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4884, allocations: 0 / 0.4951 GB, free: 2.734 MB / 414.1 MB Notification: Performance of Templates: time 0.06497/0.5534, allocations: 29.79 MB / 0.5242 GB, free: 4.871 MB / 446.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: 5.563681658357382]