Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001667/0.001667, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.278/1.278, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007619/0.0007618, allocations: 97.41 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 8 kB / 327 MB, free: 168 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2052, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02453/0.2297, allocations: 33.52 MB / 408.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01555/0.2453, allocations: 9.296 MB / 417.4 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003781/0.2491, allocations: 231.1 kB / 417.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.2525, allocations: 1.891 MB / 419.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006344/0.2589, allocations: 3.39 MB / 422.9 MB, free: 388 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.2625, allocations: 1.597 MB / 424.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01982/0.2823, allocations: 18.96 MB / 443.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03759/0.32, allocations: 24.64 MB / 468.1 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008838/0.3288, allocations: 6.148 MB / 474.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01082/0.3397, allocations: 6.985 MB / 481.2 MB, free: 5.816 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003314/0.343, allocations: 0.9453 MB / 482.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006205/0.3492, allocations: 1.304 MB / 483.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003828/0.3531, allocations: 3.037 MB / 486.5 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005159/0.3583, allocations: 3.104 MB / 489.6 MB, free: 13.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3318/0.6901, allocations: 27.02 MB / 0.5045 GB, free: 34.55 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.6901, allocations: 0 / 0.5045 GB, free: 34.55 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6901, allocations: 2.344 kB / 0.5045 GB, free: 34.55 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.000822/0.6909, allocations: 0 / 0.5045 GB, free: 34.55 MB / 378.8 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.04339/0.7343, allocations: 15.87 MB / 0.52 GB, free: 26.93 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.7344, allocations: 13.98 kB / 0.5201 GB, free: 26.93 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0475/0.7819, allocations: 9.28 MB / 0.5291 GB, free: 23.35 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01982/0.8018, allocations: 8.987 MB / 0.5379 GB, free: 21.07 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.803, allocations: 1.078 MB / 0.5389 GB, free: 21.04 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005999/0.809, allocations: 1.418 MB / 0.5403 GB, free: 20.88 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04511/0.8541, allocations: 23.12 MB / 0.5629 GB, free: 6.246 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005481/0.8547, allocations: 25.67 kB / 0.5629 GB, free: 6.227 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003587/0.8583, allocations: 0.5832 MB / 0.5635 GB, free: 6.109 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006816/0.859, allocations: 0.8116 MB / 0.5643 GB, free: 5.352 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04074/0.8997, allocations: 21.61 MB / 0.5854 GB, free: 1.441 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1354/1.035, allocations: 74.34 MB / 0.658 GB, free: 6.75 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2265/1.262, allocations: 53.52 MB / 0.7103 GB, free: 118.7 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009345/1.271, allocations: 5.445 MB / 0.7156 GB, free: 116.6 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02562/1.297, allocations: 15.61 MB / 0.7308 GB, free: 109.5 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/1.297, allocations: 82.47 kB / 0.7309 GB, free: 109.4 MB / 474.8 MB Notification: Performance of pre-optimization done (n=504): time 7.924e-06/1.297, allocations: 3.531 kB / 0.7309 GB, free: 109.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=512): time 0.06375/1.361, allocations: 29.12 MB / 0.7593 GB, free: 88.96 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/1.361, allocations: 129.4 kB / 0.7595 GB, free: 88.81 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008049/1.369, allocations: 5.863 MB / 0.7652 GB, free: 82.98 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009561/1.37, allocations: 105.7 kB / 0.7653 GB, free: 82.87 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002867/1.373, allocations: 6.285 MB / 0.7714 GB, free: 76.55 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.374, allocations: 1.757 MB / 0.7731 GB, free: 74.8 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/1.375, allocations: 156 kB / 0.7733 GB, free: 74.65 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0003138/1.375, allocations: 0.6246 MB / 0.7739 GB, free: 74.02 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/1.38, allocations: 3.708 MB / 0.7775 GB, free: 70.31 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005898/1.386, allocations: 6.785 MB / 0.7842 GB, free: 62.11 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006395/1.392, allocations: 5.158 MB / 0.7892 GB, free: 56.94 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.131e-05/1.392, allocations: 28 kB / 0.7892 GB, free: 56.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.01803/1.41, allocations: 12.43 MB / 0.8014 GB, free: 44.41 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/1.41, allocations: 48 kB / 0.8014 GB, free: 44.37 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.411, allocations: 108 kB / 0.8015 GB, free: 44.26 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003844/1.414, allocations: 1.611 MB / 0.8031 GB, free: 42.64 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005839/1.42, allocations: 1.747 MB / 0.8048 GB, free: 40.89 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01839/1.439, allocations: 18.2 MB / 0.8226 GB, free: 22.04 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006408/1.445, allocations: 443.4 kB / 0.823 GB, free: 21.6 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007344/1.446, allocations: 396 kB / 0.8234 GB, free: 21.21 MB / 474.8 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[1].y,booleanStepQS[2].y,booleanStepQS[3].y,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 initialization (907): * Single equations (assignments): 897 * 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%) 1,(12,53.5%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008135/1.454, allocations: 5.25 MB / 0.8285 GB, free: 15.95 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.455, allocations: 0.6059 MB / 0.8291 GB, free: 15.34 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/1.469, allocations: 9.462 MB / 0.8383 GB, free: 5.777 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2435/1.712, allocations: 5.932 MB / 0.8441 GB, free: 145.8 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.945e-05/1.712, allocations: 17.69 kB / 0.8441 GB, free: 145.8 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/1.713, allocations: 28.53 kB / 0.8442 GB, free: 145.8 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03837/1.751, allocations: 21.21 MB / 0.8649 GB, free: 140.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/1.751, allocations: 7.094 kB / 0.8649 GB, free: 140.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003282/1.754, allocations: 0.8672 MB / 0.8657 GB, free: 140 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004063/1.758, allocations: 1.629 MB / 0.8673 GB, free: 139.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003329/1.759, allocations: 126.2 kB / 0.8674 GB, free: 139.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01936/1.778, allocations: 21.35 MB / 0.8883 GB, free: 124.6 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.778, allocations: 7.969 kB / 0.8883 GB, free: 124.6 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01846/1.797, allocations: 13.85 MB / 0.9018 GB, free: 118.6 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00335/1.8, allocations: 1.379 MB / 0.9032 GB, free: 118.1 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007495/1.801, allocations: 106.8 kB / 0.9033 GB, free: 118 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002629/1.803, allocations: 299.8 kB / 0.9036 GB, free: 117.9 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008249/1.804, allocations: 404.2 kB / 0.9039 GB, free: 117.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003103/1.805, allocations: 155.9 kB / 0.9041 GB, free: 117.7 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005601/1.81, allocations: 3.921 MB / 0.9079 GB, free: 114.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.284e-06/1.81, allocations: 0 / 0.9079 GB, free: 114.5 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.008573/1.819, allocations: 2.381 MB / 0.9102 GB, free: 112.1 MB / 474.8 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 (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,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(12,53.5%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007847/1.82, allocations: 315.6 kB / 0.9105 GB, free: 111.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01291/1.832, allocations: 10.06 MB / 0.9204 GB, free: 103 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.832, allocations: 0 / 0.9204 GB, free: 103 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006904/1.839, allocations: 5.487 MB / 0.9257 GB, free: 98.14 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007249/1.847, allocations: 1.569 MB / 0.9273 GB, free: 96.84 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03748/1.884, allocations: 29.74 MB / 0.9563 GB, free: 67.49 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006526/1.891, allocations: 8.649 MB / 0.9647 GB, free: 58.8 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/1.893, allocations: 0.5189 MB / 0.9652 GB, free: 58.29 MB / 474.8 MB Notification: Performance of SimCode: time 9.41e-07/1.893, allocations: 0 / 0.9652 GB, free: 58.29 MB / 474.8 MB Notification: Performance of Templates: time 1.528/3.421, allocations: 0.6719 GB / 1.637 GB, free: 108.1 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches