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.001358/0.001357, allocations: 114 kB / 17.73 MB, free: 5.359 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.001475/0.001475, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.837/1.837, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001503/0.001503, allocations: 47.94 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1291, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.2735/0.4026, allocations: 10.14 MB / 385.3 MB, free: 7.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007923/0.4106, allocations: 3.276 MB / 388.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.4129, allocations: 49.88 kB / 388.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.415, allocations: 0.7056 MB / 389.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.4182, allocations: 0.8367 MB / 390.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4193, allocations: 414.5 kB / 390.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004097/0.4234, allocations: 2.967 MB / 393.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.4269, allocations: 2.443 MB / 396 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.4295, allocations: 1.347 MB / 397.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/0.4325, allocations: 1.695 MB / 399 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000627/0.4332, allocations: 353.9 kB / 399.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.4344, allocations: 460.8 kB / 399.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.4355, allocations: 1.016 MB / 400.8 MB, free: 168 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.4378, allocations: 1.608 MB / 402.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.444, allocations: 4.668 MB / 407.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.444, allocations: 1.594 kB / 407.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.719e-06/0.444, allocations: 0 / 407.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001004/0.4441, allocations: 0 / 407.1 MB, free: 12.3 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.008351/0.4525, allocations: 3.265 MB / 410.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4525, allocations: 8.656 kB / 410.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.4537, allocations: 328.4 kB / 410.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.4567, allocations: 1.652 MB / 412.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.4568, allocations: 179.6 kB / 412.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.4573, allocations: 240 kB / 412.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.4631, allocations: 3.134 MB / 415.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/0.4632, allocations: 9.594 kB / 415.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002144/0.4634, allocations: 92 kB / 416 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.4635, allocations: 104.6 kB / 416.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004536/0.4681, allocations: 2.696 MB / 418.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.4831, allocations: 9.622 MB / 428.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.4859, allocations: 2.169 MB / 430.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.4878, allocations: 1.12 MB / 431.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.4881, allocations: 212.1 kB / 431.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4881, allocations: 43.56 kB / 432 MB, free: 6.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 2.575e-06/0.4881, allocations: 0 / 432 MB, free: 6.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01391/0.502, allocations: 6.697 MB / 438.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.5021, allocations: 72.72 kB / 438.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002619/0.5047, allocations: 1.739 MB / 440.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.5049, allocations: 49.69 kB / 440.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009157/0.5058, allocations: 1.152 MB / 441.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.5062, allocations: 461.4 kB / 442.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004652/0.5067, allocations: 287.3 kB / 442.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5068, allocations: 309.1 kB / 442.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.5081, allocations: 0.7886 MB / 443.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.5096, allocations: 1.202 MB / 444.7 MB, free: 8.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.5125, allocations: 2.095 MB / 446.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5126, allocations: 7.938 kB / 446.8 MB, free: 6.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00421/0.5168, allocations: 2.663 MB / 449.4 MB, free: 4.008 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.5168, allocations: 12 kB / 449.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.5169, allocations: 15.98 kB / 449.5 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009797/0.5178, allocations: 427.5 kB / 449.9 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.5192, allocations: 367.4 kB / 450.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007511/0.5267, allocations: 7.062 MB / 457.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.5285, allocations: 107.9 kB / 457.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.5286, allocations: 67.98 kB / 457.5 MB, free: 11.54 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.001813/0.5304, allocations: 0.79 MB / 458.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003611/0.5308, allocations: 181.8 kB / 458.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004116/0.5349, allocations: 2.371 MB / 460.8 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.5349, allocations: 12 kB / 460.8 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.5349, allocations: 11.92 kB / 460.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.535, allocations: 3.984 kB / 460.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008889/0.5439, allocations: 5.106 MB / 466 MB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5439, allocations: 0 / 466 MB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5449, allocations: 235.7 kB / 466.2 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.5461, allocations: 463.3 kB / 466.6 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.69e-05/0.5462, allocations: 35.98 kB / 466.7 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009495/0.5557, allocations: 8.628 MB / 475.3 MB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/0.5557, allocations: 7.938 kB / 475.3 MB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006606/0.5624, allocations: 3.529 MB / 478.8 MB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/0.5638, allocations: 430.7 kB / 479.3 MB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007612/0.5646, allocations: 36 kB / 479.3 MB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/0.5666, allocations: 83.89 kB / 479.4 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000431/0.567, allocations: 120.7 kB / 479.5 MB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.5672, allocations: 44.11 kB / 479.5 MB, free: 4.598 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00317/0.5704, allocations: 1.202 MB / 480.7 MB, free: 3.402 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5704, allocations: 0 / 480.7 MB, free: 3.402 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002692/0.5731, allocations: 0.4961 MB / 481.2 MB, free: 2.906 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.0004883/0.5736, allocations: 207.9 kB / 481.4 MB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004599/0.5782, allocations: 2.472 MB / 483.9 MB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.5782, allocations: 4 kB / 483.9 MB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002884/0.5811, allocations: 1.615 MB / 485.5 MB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/0.5841, allocations: 472.1 kB / 486 MB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.5942, allocations: 5.007 MB / 491 MB, free: 8.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002052/0.5962, allocations: 2.001 MB / 493 MB, free: 6.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001535/0.5978, allocations: 447.4 kB / 493.4 MB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.5983, allocations: 127.4 kB / 493.6 MB, free: 6.344 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5983, allocations: 0 / 493.6 MB, free: 6.344 MB / 414.1 MB Notification: Performance of Templates: time 0.05639/0.6547, allocations: 28.22 MB / 0.5096 GB, free: 10.07 MB / 446.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/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) Reference file matches