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.001444/0.001444, allocations: 101.1 kB / 17.93 MB, free: 5.41 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.001677/0.001677, allocations: 193.3 kB / 18.86 MB, free: 4.484 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.47/1.47, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.001208/0.001208, allocations: 47.92 kB / 280.8 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09346, allocations: 46.64 MB / 327.5 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03947/0.133, allocations: 37.65 MB / 365.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02411/0.1571, allocations: 9.873 MB / 375 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009385/0.1666, allocations: 239.1 kB / 375.2 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2051/0.3718, allocations: 9.56 MB / 384.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.3863, allocations: 3.687 MB / 388.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007606/0.3939, allocations: 2.236 MB / 390.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02153/0.4154, allocations: 16.62 MB / 407.3 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05149/0.467, allocations: 35.39 MB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01438/0.4814, allocations: 8.495 MB / 451.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01589/0.4973, allocations: 9.504 MB / 460.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006619/0.504, allocations: 2.422 MB / 463.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01006/0.5141, allocations: 2.822 MB / 466 MB, free: 5.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008169/0.5223, allocations: 4.877 MB / 470.8 MB, free: 336 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0237/0.546, allocations: 9.276 MB / 480.1 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02968/0.5757, allocations: 28 MB / 0.4962 GB, free: 11.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5758, allocations: 0 / 0.4962 GB, free: 11.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5758, allocations: 8 kB / 0.4962 GB, free: 11.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0009581/0.5767, allocations: 0 / 0.4962 GB, free: 11.6 MB / 414.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.06051/0.6373, allocations: 18.92 MB / 0.5147 GB, free: 8.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.6373, allocations: 12.03 kB / 0.5147 GB, free: 8.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05232/0.6897, allocations: 9.236 MB / 0.5237 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/0.713, allocations: 9.109 MB / 0.5326 GB, free: 6.422 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001332/0.7144, allocations: 1.081 MB / 0.5337 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006447/0.7209, allocations: 1.413 MB / 0.535 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4826/1.203, allocations: 23.22 MB / 0.5577 GB, free: 127.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006028/1.204, allocations: 17.22 kB / 0.5577 GB, free: 127.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005967/1.21, allocations: 0.5876 MB / 0.5583 GB, free: 126.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008043/1.211, allocations: 0.8033 MB / 0.5591 GB, free: 126.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04445/1.255, allocations: 21.7 MB / 0.5803 GB, free: 116.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1201/1.375, allocations: 74.19 MB / 0.6527 GB, free: 43.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03643/1.412, allocations: 53.59 MB / 0.7051 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009965/1.422, allocations: 5.436 MB / 0.7104 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2961/1.718, allocations: 15.59 MB / 0.7256 GB, free: 148.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.024e-05/1.718, allocations: 94.56 kB / 0.7257 GB, free: 148.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 7.244e-06/1.718, allocations: 0 / 0.7257 GB, free: 148.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.06619/1.785, allocations: 26.84 MB / 0.7519 GB, free: 138.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/1.785, allocations: 128.5 kB / 0.752 GB, free: 138.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009483/1.794, allocations: 5.898 MB / 0.7578 GB, free: 136.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.795, allocations: 109.3 kB / 0.7579 GB, free: 136.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004342/1.8, allocations: 6.291 MB / 0.764 GB, free: 131.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00252/1.802, allocations: 1.756 MB / 0.7658 GB, free: 130.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002988/1.805, allocations: 1.53 MB / 0.7672 GB, free: 129.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.508e-05/1.805, allocations: 312.1 kB / 0.7675 GB, free: 129.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005156/1.811, allocations: 3.722 MB / 0.7712 GB, free: 127.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009225/1.82, allocations: 6.808 MB / 0.7778 GB, free: 122.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/1.834, allocations: 11.22 MB / 0.7888 GB, free: 114.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/1.834, allocations: 31.31 kB / 0.7888 GB, free: 114.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02536/1.86, allocations: 12.48 MB / 0.801 GB, free: 106.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001678/1.86, allocations: 48 kB / 0.801 GB, free: 106.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000242/1.86, allocations: 107.9 kB / 0.8011 GB, free: 106.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004639/1.865, allocations: 1.614 MB / 0.8027 GB, free: 104.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007039/1.872, allocations: 1.743 MB / 0.8044 GB, free: 102.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/1.894, allocations: 19.64 MB / 0.8236 GB, free: 82.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007637/1.902, allocations: 443.3 kB / 0.824 GB, free: 82.18 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/1.904, allocations: 393.8 kB / 0.8244 GB, free: 81.8 MB / 478.1 MB 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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%), (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.0119/1.916, allocations: 5.239 MB / 0.8295 GB, free: 76.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002962/1.919, allocations: 0.6019 MB / 0.8301 GB, free: 75.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02163/1.94, allocations: 9.469 MB / 0.8394 GB, free: 66.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01167/1.952, allocations: 5.959 MB / 0.8452 GB, free: 60.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.517e-05/1.952, allocations: 23.94 kB / 0.8452 GB, free: 60.37 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001331/1.952, allocations: 23.91 kB / 0.8452 GB, free: 60.35 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04427/1.997, allocations: 21.22 MB / 0.8659 GB, free: 39.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-05/1.997, allocations: 8 kB / 0.8659 GB, free: 39.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00423/2.001, allocations: 0.8706 MB / 0.8668 GB, free: 38.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004804/2.006, allocations: 1.644 MB / 0.8684 GB, free: 36.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001204/2.007, allocations: 132 kB / 0.8685 GB, free: 36.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2627/2.27, allocations: 23.2 MB / 0.8912 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/2.27, allocations: 10.31 kB / 0.8912 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0262/2.296, allocations: 13.87 MB / 0.9047 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004609/2.301, allocations: 1.365 MB / 0.9061 GB, free: 131.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001847/2.303, allocations: 105.9 kB / 0.9062 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004232/2.307, allocations: 288.6 kB / 0.9064 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/2.308, allocations: 416.3 kB / 0.9068 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004965/2.309, allocations: 153.5 kB / 0.907 GB, free: 131 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008953/2.318, allocations: 3.972 MB / 0.9109 GB, free: 129.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/2.318, allocations: 2.188 kB / 0.9109 GB, free: 129.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01247/2.33, allocations: 2.373 MB / 0.9132 GB, free: 129.3 MB / 478.1 MB 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/2.332, allocations: 321.8 kB / 0.9135 GB, free: 129.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03278/2.365, allocations: 16.25 MB / 0.9294 GB, free: 124.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/2.365, allocations: 1.312 kB / 0.9294 GB, free: 124.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009514/2.374, allocations: 5.482 MB / 0.9347 GB, free: 122.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01069/2.385, allocations: 1.65 MB / 0.9363 GB, free: 121.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05526/2.44, allocations: 30.92 MB / 0.9665 GB, free: 96.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/2.453, allocations: 8.645 MB / 0.975 GB, free: 90.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/2.457, allocations: 0.5189 MB / 0.9755 GB, free: 89.61 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/2.457, allocations: 0 / 0.9755 GB, free: 89.61 MB / 478.1 MB Notification: Performance of Templates: time 1.783/4.239, allocations: 0.6733 GB / 1.649 GB, free: 168.8 MB / 0.5138 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","../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