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.001138/0.001139, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001125/0.001125, 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.681/1.681, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.00138/0.00138, allocations: 52.34 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 46.62 MB / 375.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL): time 0.3244/0.4495, allocations: 10.14 MB / 385.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008224/0.4578, allocations: 3.276 MB / 388.6 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.4598, allocations: 51.31 kB / 388.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002018/0.4618, allocations: 0.7052 MB / 389.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003269/0.4651, allocations: 0.8384 MB / 390.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.4664, allocations: 408.3 kB / 390.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004814/0.4712, allocations: 2.975 MB / 393.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.4746, allocations: 2.433 MB / 396 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.478, allocations: 1.339 MB / 397.3 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004072/0.4821, allocations: 1.698 MB / 399 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008646/0.483, allocations: 354.4 kB / 399.4 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.4848, allocations: 456.1 kB / 399.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001462/0.4863, allocations: 1.013 MB / 400.8 MB, free: 200 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004248/0.4905, allocations: 1.615 MB / 402.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008271/0.4988, allocations: 4.688 MB / 407.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.073e-05/0.4989, allocations: 1.312 kB / 407.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.4989, allocations: 0 / 407.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002127/0.4991, 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.01254/0.5117, allocations: 3.339 MB / 410.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.472e-05/0.5118, allocations: 8.875 kB / 410.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.5131, allocations: 349.4 kB / 410.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.5166, allocations: 1.665 MB / 412.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.5168, allocations: 174 kB / 412.6 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.5172, allocations: 239.6 kB / 412.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007142/0.5243, allocations: 3.132 MB / 416 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/0.5244, allocations: 4 kB / 416 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.5246, allocations: 96 kB / 416.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.5248, allocations: 112.5 kB / 416.2 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004747/0.5295, allocations: 2.696 MB / 418.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/0.5469, allocations: 9.648 MB / 428.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003049/0.55, allocations: 2.174 MB / 430.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.5519, allocations: 1.104 MB / 431.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.5523, allocations: 211.2 kB / 432 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.5523, allocations: 51.56 kB / 432.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=116): time 3.156e-06/0.5523, allocations: 0 / 432.1 MB, free: 5.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=131): time 0.01678/0.5691, allocations: 6.749 MB / 438.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.5693, allocations: 64.72 kB / 438.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/0.5741, allocations: 1.747 MB / 440.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.5745, allocations: 45.7 kB / 440.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.5757, allocations: 1.186 MB / 441.9 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008064/0.5765, allocations: 472 kB / 442.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009282/0.5775, allocations: 287.4 kB / 442.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.5777, allocations: 309.1 kB / 442.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.5795, allocations: 0.7925 MB / 443.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.5814, allocations: 1.202 MB / 444.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/0.5851, allocations: 2.095 MB / 447 MB, free: 6.484 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/0.5851, allocations: 7.938 kB / 447 MB, free: 6.477 MB / 366.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006118/0.5912, allocations: 2.679 MB / 449.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.5913, allocations: 8 kB / 449.7 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.166e-05/0.5914, allocations: 12 kB / 449.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.5925, allocations: 416.2 kB / 450.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.594, allocations: 363.4 kB / 450.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009305/0.6033, allocations: 7.088 MB / 457.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.6057, allocations: 103.9 kB / 457.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000417/0.6062, allocations: 67.98 kB / 457.7 MB, free: 11.29 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.002468/0.6087, allocations: 0.7901 MB / 458.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007975/0.6095, allocations: 194.8 kB / 458.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/0.6146, allocations: 2.367 MB / 461.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.6147, allocations: 15.94 kB / 461.1 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/0.6147, allocations: 4 kB / 461.1 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.6147, allocations: 8.062 kB / 461.1 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.6261, allocations: 5.11 MB / 466.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.6261, allocations: 4 kB / 466.2 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6271, allocations: 235.6 kB / 466.5 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.6284, allocations: 447.2 kB / 466.9 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.6285, allocations: 35.98 kB / 466.9 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.639, allocations: 8.638 MB / 475.6 MB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.639, allocations: 4 kB / 475.6 MB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/0.6461, allocations: 3.53 MB / 479.1 MB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.6476, allocations: 443.8 kB / 479.5 MB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008524/0.6485, allocations: 35.98 kB / 479.6 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/0.6502, allocations: 84 kB / 479.6 MB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004345/0.6506, allocations: 128.7 kB / 479.8 MB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.6508, allocations: 40.11 kB / 479.8 MB, free: 4.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003106/0.6539, allocations: 1.198 MB / 481 MB, free: 3.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.294e-06/0.6539, allocations: 0 / 481 MB, free: 3.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003021/0.6569, allocations: 0.5038 MB / 481.5 MB, free: 2.633 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.0005435/0.6575, allocations: 198.8 kB / 481.7 MB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00485/0.6623, allocations: 2.468 MB / 484.2 MB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.6624, allocations: 0 / 484.2 MB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002798/0.6652, allocations: 1.626 MB / 485.8 MB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/0.6688, allocations: 496.2 kB / 486.3 MB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.68, allocations: 5.08 MB / 491.4 MB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.6828, allocations: 2.009 MB / 493.4 MB, free: 6.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001867/0.6847, allocations: 443.5 kB / 493.8 MB, free: 6.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/0.6854, allocations: 127.4 kB / 493.9 MB, free: 5.969 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6854, allocations: 0 / 493.9 MB, free: 5.969 MB / 414.1 MB Notification: Performance of Templates: time 0.05656/0.7419, allocations: 28.23 MB / 0.5099 GB, free: 9.68 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