Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 106.1 kB / 18.4 MB, free: 4.68 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.00143/0.00143, allocations: 186.4 kB / 19.33 MB, free: 3.758 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.15/1.15, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.00111/0.00111, allocations: 51.92 kB / 329.2 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08791, allocations: 46.62 MB / 375.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1987/0.2867, allocations: 38.35 MB / 414.2 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02561/0.3123, allocations: 10.01 MB / 424.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00714/0.3195, allocations: 246.2 kB / 424.5 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02196/0.3415, allocations: 10.19 MB / 434.7 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01477/0.3563, allocations: 4.074 MB / 438.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007669/0.364, allocations: 2.425 MB / 441.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02312/0.3871, allocations: 16.53 MB / 457.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0447/0.4319, allocations: 31.18 MB / 488.9 MB, free: 14.21 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01294/0.4449, allocations: 8.575 MB / 497.4 MB, free: 5.613 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0149/0.4598, allocations: 9.421 MB / 0.495 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006421/0.4663, allocations: 2.43 MB / 0.4974 GB, free: 9.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009034/0.4753, allocations: 2.812 MB / 0.5001 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007383/0.4827, allocations: 4.875 MB / 0.5049 GB, free: 2.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01746/0.5002, allocations: 9.276 MB / 0.5139 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04232/0.5426, allocations: 32.13 MB / 0.5453 GB, free: 8.496 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.5426, allocations: 0 / 0.5453 GB, free: 8.496 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5426, allocations: 0 / 0.5453 GB, free: 8.496 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009751/0.5436, allocations: 3.938 kB / 0.5453 GB, free: 8.492 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.4987/1.042, allocations: 18.85 MB / 0.5637 GB, free: 91.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/1.042, allocations: 9.25 kB / 0.5637 GB, free: 91.97 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0548/1.097, allocations: 9.288 MB / 0.5728 GB, free: 91.14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02044/1.118, allocations: 9.193 MB / 0.5818 GB, free: 86.83 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/1.119, allocations: 1.069 MB / 0.5828 GB, free: 85.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006142/1.125, allocations: 1.417 MB / 0.5842 GB, free: 84.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06142/1.186, allocations: 23.2 MB / 0.6068 GB, free: 61.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005424/1.187, allocations: 31.36 kB / 0.6069 GB, free: 61.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003886/1.191, allocations: 0.5792 MB / 0.6074 GB, free: 60.53 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006383/1.191, allocations: 0.8071 MB / 0.6082 GB, free: 59.72 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04369/1.235, allocations: 21.69 MB / 0.6294 GB, free: 38.03 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/1.361, allocations: 73.24 MB / 0.7009 GB, free: 12.46 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04524/1.406, allocations: 53.56 MB / 0.7532 GB, free: 0.6172 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009912/1.416, allocations: 5.348 MB / 0.7585 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2717/1.688, allocations: 15.42 MB / 0.7735 GB, free: 224.7 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.074e-05/1.688, allocations: 88.62 kB / 0.7736 GB, free: 224.6 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=498): time 7.454e-06/1.688, allocations: 0 / 0.7736 GB, free: 224.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=506): time 0.05643/1.745, allocations: 26.95 MB / 0.7999 GB, free: 215.8 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/1.745, allocations: 128.1 kB / 0.8 GB, free: 215.7 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008001/1.753, allocations: 5.897 MB / 0.8058 GB, free: 213.6 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008016/1.754, allocations: 118.7 kB / 0.8059 GB, free: 213.5 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002939/1.756, allocations: 6.291 MB / 0.8121 GB, free: 208.8 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/1.758, allocations: 1.743 MB / 0.8138 GB, free: 207.4 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002395/1.761, allocations: 1.517 MB / 0.8152 GB, free: 206.7 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.168e-05/1.761, allocations: 305.1 kB / 0.8155 GB, free: 206.4 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004707/1.765, allocations: 3.681 MB / 0.8191 GB, free: 205 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00655/1.772, allocations: 6.776 MB / 0.8257 GB, free: 199.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/1.784, allocations: 11.14 MB / 0.8366 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.46e-05/1.784, allocations: 36 kB / 0.8367 GB, free: 189.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02007/1.804, allocations: 12.39 MB / 0.8488 GB, free: 178.2 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/1.804, allocations: 48 kB / 0.8488 GB, free: 178.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001376/1.804, allocations: 100 kB / 0.8489 GB, free: 178 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003888/1.808, allocations: 1.604 MB / 0.8505 GB, free: 176.4 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00628/1.815, allocations: 1.743 MB / 0.8522 GB, free: 174.7 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01948/1.834, allocations: 19.63 MB / 0.8713 GB, free: 154.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006418/1.841, allocations: 440.9 kB / 0.8718 GB, free: 154 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/1.842, allocations: 392 kB / 0.8721 GB, free: 153.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,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 (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,54.2%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008584/1.851, allocations: 5.248 MB / 0.8773 GB, free: 148.3 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/1.852, allocations: 0.6059 MB / 0.8779 GB, free: 147.7 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.866, allocations: 9.377 MB / 0.887 GB, free: 138.2 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007722/1.874, allocations: 5.874 MB / 0.8928 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-05/1.874, allocations: 20 kB / 0.8928 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.188e-05/1.874, allocations: 27.89 kB / 0.8928 GB, free: 132.3 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03331/1.907, allocations: 21.08 MB / 0.9134 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/1.907, allocations: 8 kB / 0.9134 GB, free: 111.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003691/1.911, allocations: 0.8581 MB / 0.9142 GB, free: 110.2 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00426/1.915, allocations: 1.64 MB / 0.9158 GB, free: 108.6 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008638/1.916, allocations: 128 kB / 0.916 GB, free: 108.5 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02015/1.936, allocations: 23.21 MB / 0.9386 GB, free: 84.33 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.936, allocations: 11.17 kB / 0.9386 GB, free: 84.32 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.955, allocations: 13.73 MB / 0.952 GB, free: 70.23 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003624/1.959, allocations: 1.361 MB / 0.9534 GB, free: 68.84 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.96, allocations: 111.9 kB / 0.9535 GB, free: 68.73 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/1.963, allocations: 283.7 kB / 0.9537 GB, free: 68.46 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008732/1.964, allocations: 404.4 kB / 0.9541 GB, free: 68.06 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000302/1.964, allocations: 152 kB / 0.9543 GB, free: 67.91 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.005725/1.97, allocations: 3.969 MB / 0.9581 GB, free: 63.97 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.91e-07/1.97, allocations: 0 / 0.9581 GB, free: 63.97 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01165/1.982, allocations: 2.376 MB / 0.9605 GB, free: 61.6 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001779/1.984, allocations: 308.7 kB / 0.9608 GB, free: 61.3 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01433/1.998, allocations: 10.01 MB / 0.9705 GB, free: 51.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.998, allocations: 4 kB / 0.9705 GB, free: 51.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.008213/2.006, allocations: 5.463 MB / 0.9759 GB, free: 45.66 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/2.017, allocations: 1.655 MB / 0.9775 GB, free: 44.01 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.278/2.295, allocations: 24.55 MB / 1.001 GB, free: 208.8 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01685/2.312, allocations: 8.646 MB / 1.01 GB, free: 207.9 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003032/2.315, allocations: 0.5185 MB / 1.01 GB, free: 207.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.012e-06/2.315, allocations: 3.906 kB / 1.01 GB, free: 207.9 MB / 0.5763 GB Notification: Performance of Templates: time 1.497/3.811, allocations: 0.6758 GB / 1.686 GB, free: 146.2 MB / 0.5763 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches