Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.4 MB / 235.5 MB, free: 2.891 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.0008779, allocations: 92.03 kB / 286.5 MB, free: 196 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.223e-05/2.225e-05, allocations: 0 / 343.9 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.08738, allocations: 50.41 MB / 394.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4406, allocations: 153.8 MB / 0.5352 GB, free: 13.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.4409, allocations: 110.4 kB / 0.5353 GB, free: 13.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.557/1.998, allocations: 456.9 MB / 0.9814 GB, free: 35.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.998, allocations: 4 kB / 0.9814 GB, free: 35.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008341/1.999, allocations: 328.6 kB / 0.9817 GB, free: 35.73 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04452/2.043, allocations: 13.18 MB / 0.9946 GB, free: 30.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/2.043, allocations: 6.781 kB / 0.9946 GB, free: 30.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03182/2.075, allocations: 5.826 MB / 1 GB, free: 28.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02902/2.104, allocations: 11.68 MB / 1.012 GB, free: 17.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001058/2.105, allocations: 1.024 MB / 1.013 GB, free: 16.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005923/2.111, allocations: 1.358 MB / 1.014 GB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05944/2.171, allocations: 22.16 MB / 1.036 GB, free: 8.289 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006707/2.172, allocations: 23.8 kB / 1.036 GB, free: 8.266 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004902/2.177, allocations: 0.5785 MB / 1.036 GB, free: 7.699 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001282/2.178, allocations: 0.9783 MB / 1.037 GB, free: 6.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3365/2.514, allocations: 19.17 MB / 1.056 GB, free: 50.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/2.63, allocations: 72.71 MB / 1.127 GB, free: 29.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02924/2.659, allocations: 42.13 MB / 1.168 GB, free: 6.469 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008185/2.667, allocations: 5.067 MB / 1.173 GB, free: 4.508 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02299/2.69, allocations: 12.86 MB / 1.186 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.023e-05/2.69, allocations: 97.27 kB / 1.186 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=502): time 6.522e-06/2.69, allocations: 2.531 kB / 1.186 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=510): time 0.03264/2.723, allocations: 18.83 MB / 1.204 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/2.723, allocations: 129.9 kB / 1.204 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00742/2.73, allocations: 5 MB / 1.209 GB, free: 3.395 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007231/2.731, allocations: 107.5 kB / 1.209 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003952/2.735, allocations: 6.136 MB / 1.215 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001839/2.737, allocations: 1.745 MB / 1.217 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/2.737, allocations: 148 kB / 1.217 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004198/2.738, allocations: 0.6157 MB / 1.218 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005242/2.743, allocations: 3.509 MB / 1.221 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006738/2.75, allocations: 6.294 MB / 1.227 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2913/3.041, allocations: 4.974 MB / 1.232 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/3.041, allocations: 26.8 kB / 1.232 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=960) (initialization): time 0.02289/3.064, allocations: 11.79 MB / 1.244 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/3.064, allocations: 44.5 kB / 1.244 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001983/3.065, allocations: 92 kB / 1.244 GB, free: 93.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004413/3.069, allocations: 1.502 MB / 1.245 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0075/3.076, allocations: 1.64 MB / 1.247 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/3.097, allocations: 17.84 MB / 1.264 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009387/3.106, allocations: 435.4 kB / 1.265 GB, free: 87.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00224/3.108, allocations: 362.5 kB / 1.265 GB, free: 87.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 417 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (860): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(12,52.8%) 64} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002041/3.11, allocations: 0.5691 MB / 1.266 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/3.112, allocations: 0.5983 MB / 1.266 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02723/3.14, allocations: 9.148 MB / 1.275 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01651/3.156, allocations: 5.764 MB / 1.281 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.252e-05/3.156, allocations: 18.77 kB / 1.281 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001476/3.157, allocations: 27.86 kB / 1.281 GB, free: 86.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.049/3.206, allocations: 20.88 MB / 1.301 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/3.206, allocations: 10.94 kB / 1.301 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003792/3.209, allocations: 0.8548 MB / 1.302 GB, free: 85.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004231/3.214, allocations: 1.535 MB / 1.303 GB, free: 84.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008824/3.215, allocations: 128 kB / 1.304 GB, free: 84.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/3.235, allocations: 21 MB / 1.324 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/3.235, allocations: 11.25 kB / 1.324 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/3.256, allocations: 14.3 MB / 1.338 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004791/3.261, allocations: 1.354 MB / 1.339 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002145/3.263, allocations: 108.3 kB / 1.34 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00458/3.268, allocations: 304.2 kB / 1.34 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/3.269, allocations: 404.6 kB / 1.34 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004303/3.27, allocations: 156.8 kB / 1.34 GB, free: 62.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006686/3.276, allocations: 3.754 MB / 1.344 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.41e-07/3.276, allocations: 0 / 1.344 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01062/3.287, allocations: 2.376 MB / 1.346 GB, free: 60.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (439): * Single equations (assignments): 428 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(12,52.1%) 64,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/3.289, allocations: 0.731 MB / 1.347 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0158/3.305, allocations: 9.612 MB / 1.356 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/3.305, allocations: 0 / 1.356 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009398/3.314, allocations: 5.347 MB / 1.362 GB, free: 46.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009374/3.323, allocations: 1.499 MB / 1.363 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04815/3.372, allocations: 21.07 MB / 1.384 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01592/3.388, allocations: 9.088 MB / 1.393 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01184/3.4, allocations: 2.512 MB / 1.395 GB, free: 17.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00339/3.403, allocations: 454.3 kB / 1.395 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/3.403, allocations: 0 / 1.395 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.5444/3.947, allocations: 99.03 MB / 1.492 GB, free: 72.54 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches