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.001798/0.001799, allocations: 188.9 kB / 17.27 MB, free: 4.504 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.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 105.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008397/0.0008399, allocations: 39.94 kB / 350.1 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2355, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02789/0.2634, allocations: 37.57 MB / 437.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02107/0.2845, allocations: 9.916 MB / 447 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009185/0.2938, allocations: 279.1 kB / 447.3 MB, free: 1.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02438/0.3182, allocations: 9.565 MB / 456.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01849/0.3367, allocations: 3.692 MB / 460.5 MB, free: 4.141 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008245/0.345, allocations: 2.207 MB / 462.7 MB, free: 1.945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02201/0.367, allocations: 16.86 MB / 479.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04745/0.4145, allocations: 25.5 MB / 0.4933 GB, free: 7.285 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.4266, allocations: 7.212 MB / 0.5003 GB, free: 52 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.451/0.8777, allocations: 8.813 MB / 0.5089 GB, free: 28.88 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.006995/0.8847, allocations: 1.534 MB / 0.5104 GB, free: 28.88 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01212/0.8969, allocations: 1.93 MB / 0.5123 GB, free: 28.88 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01089/0.9078, allocations: 3.894 MB / 0.5161 GB, free: 28.35 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02467/0.9326, allocations: 8.269 MB / 0.5242 GB, free: 26.24 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03714/0.9697, allocations: 31.3 MB / 0.5547 GB, free: 8.605 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.9698, allocations: 3.844 kB / 0.5547 GB, free: 8.605 MB / 378.8 MB Notification: Performance of FrontEnd: time 3.306e-06/0.9698, allocations: 0 / 0.5547 GB, free: 8.605 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001256/0.9711, allocations: 0 / 0.5547 GB, free: 8.605 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.07624/1.047, allocations: 18.74 MB / 0.573 GB, free: 10.02 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.047, allocations: 12.03 kB / 0.573 GB, free: 10.01 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07001/1.117, allocations: 8.251 MB / 0.5811 GB, free: 1.832 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03226/1.15, allocations: 9.868 MB / 0.5907 GB, free: 8.332 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001669/1.151, allocations: 1.061 MB / 0.5918 GB, free: 7.281 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008966/1.16, allocations: 1.403 MB / 0.5931 GB, free: 5.891 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09302/1.253, allocations: 22.77 MB / 0.6154 GB, free: 15.06 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008253/1.254, allocations: 23.28 kB / 0.6154 GB, free: 15.04 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007075/1.261, allocations: 0.5803 MB / 0.616 GB, free: 14.48 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/1.263, allocations: 0.7754 MB / 0.6167 GB, free: 13.7 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06908/1.332, allocations: 21.02 MB / 0.6373 GB, free: 8.676 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4715/1.803, allocations: 72.91 MB / 0.7085 GB, free: 130.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03045/1.834, allocations: 42.43 MB / 0.7499 GB, free: 94.81 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008883/1.843, allocations: 5.239 MB / 0.755 GB, free: 92.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02354/1.866, allocations: 12.82 MB / 0.7675 GB, free: 85.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.558e-05/1.867, allocations: 88.09 kB / 0.7676 GB, free: 85.39 MB / 490.8 MB Notification: Performance of pre-optimization done (n=504): time 7.585e-06/1.867, allocations: 0 / 0.7676 GB, free: 85.39 MB / 490.8 MB Notification: Performance of matching and sorting (n=512): time 0.05512/1.922, allocations: 26.69 MB / 0.7937 GB, free: 66.41 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/1.922, allocations: 129.4 kB / 0.7938 GB, free: 66.26 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0083/1.93, allocations: 5.751 MB / 0.7994 GB, free: 60.53 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001065/1.931, allocations: 113.7 kB / 0.7995 GB, free: 60.41 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00279/1.934, allocations: 6.138 MB / 0.8055 GB, free: 54.24 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.936, allocations: 1.754 MB / 0.8072 GB, free: 52.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002125/1.938, allocations: 1.465 MB / 0.8087 GB, free: 51.03 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/1.938, allocations: 301.1 kB / 0.809 GB, free: 50.73 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004604/1.943, allocations: 3.669 MB / 0.8125 GB, free: 47.06 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/1.949, allocations: 6.518 MB / 0.8189 GB, free: 39.24 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.96, allocations: 10.85 MB / 0.8295 GB, free: 27.07 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.463e-05/1.96, allocations: 28 kB / 0.8295 GB, free: 27.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02089/1.981, allocations: 12.16 MB / 0.8414 GB, free: 14.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/1.981, allocations: 48 kB / 0.8414 GB, free: 14.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/1.982, allocations: 95.98 kB / 0.8415 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/1.986, allocations: 1.584 MB / 0.8431 GB, free: 13.07 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006323/1.992, allocations: 1.669 MB / 0.8447 GB, free: 11.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2613/2.254, allocations: 18.22 MB / 0.8625 GB, free: 144.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006924/2.261, allocations: 426.2 kB / 0.8629 GB, free: 144.5 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001857/2.263, allocations: 367.4 kB / 0.8633 GB, free: 144.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 423 * 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 (868): * Single equations (assignments): 858 * 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,53.5%), (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.01179/2.274, allocations: 5.187 MB / 0.8683 GB, free: 143 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/2.276, allocations: 0.5941 MB / 0.8689 GB, free: 143 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01716/2.293, allocations: 9.442 MB / 0.8781 GB, free: 139.2 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009503/2.303, allocations: 5.946 MB / 0.8839 GB, free: 136.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.017e-05/2.303, allocations: 23.09 kB / 0.884 GB, free: 136.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.347e-05/2.303, allocations: 29.58 kB / 0.884 GB, free: 136.9 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03794/2.341, allocations: 21.15 MB / 0.9046 GB, free: 128.2 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/2.341, allocations: 7.438 kB / 0.9046 GB, free: 128.2 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003758/2.345, allocations: 0.863 MB / 0.9055 GB, free: 128.2 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004519/2.349, allocations: 1.641 MB / 0.9071 GB, free: 127.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007369/2.35, allocations: 128.3 kB / 0.9072 GB, free: 127.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/2.371, allocations: 21.35 MB / 0.9281 GB, free: 108.9 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/2.371, allocations: 11.94 kB / 0.9281 GB, free: 108.9 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09443/2.465, allocations: 64.53 MB / 0.9911 GB, free: 43.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004366/2.47, allocations: 1.367 MB / 0.9924 GB, free: 42.01 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00167/2.471, allocations: 111.9 kB / 0.9925 GB, free: 41.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004013/2.475, allocations: 287.7 kB / 0.9928 GB, free: 41.62 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/2.477, allocations: 413.3 kB / 0.9932 GB, free: 41.21 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003851/2.477, allocations: 156 kB / 0.9933 GB, free: 41.06 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.006986/2.484, allocations: 3.879 MB / 0.9971 GB, free: 37.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 4.2e-07/2.484, allocations: 0 / 0.9971 GB, free: 37.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01519/2.499, allocations: 2.914 MB / 1 GB, free: 34.3 MB / 490.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 (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.001655/2.501, allocations: 325.4 kB / 1 GB, free: 33.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01576/2.517, allocations: 9.94 MB / 1.01 GB, free: 23.95 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/2.517, allocations: 4 kB / 1.01 GB, free: 23.95 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009464/2.526, allocations: 5.483 MB / 1.015 GB, free: 18.38 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/2.538, allocations: 1.547 MB / 1.017 GB, free: 16.86 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3171/2.855, allocations: 35.74 MB / 1.052 GB, free: 126.8 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02006/2.875, allocations: 9.016 MB / 1.061 GB, free: 125.8 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.01133/2.886, allocations: 2.549 MB / 1.063 GB, free: 125.6 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/2.888, allocations: 464.2 kB / 1.064 GB, free: 125.6 MB / 490.8 MB Notification: Performance of SimCode: time 1.012e-06/2.888, allocations: 0 / 1.064 GB, free: 125.6 MB / 490.8 MB Notification: Performance of Templates: time 0.1897/3.078, allocations: 114.1 MB / 1.175 GB, free: 30.22 MB / 490.8 MB 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@2/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