Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008268/0.000827, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009845/0.0009845, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002792, allocations: 8 kB / 308.4 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 51.52 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2045/0.3174, allocations: 36.71 MB / 396.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.022/0.3394, allocations: 10.11 MB / 406.8 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008334/0.3478, allocations: 272.9 kB / 407 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008829/0.3566, allocations: 2.479 MB / 409.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01703/0.3737, allocations: 3.675 MB / 413.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00767/0.3814, allocations: 2.147 MB / 415.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02332/0.4047, allocations: 16.82 MB / 432.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05114/0.4559, allocations: 29.32 MB / 461.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.4665, allocations: 5.943 MB / 467.4 MB, free: 256 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01227/0.4788, allocations: 7.212 MB / 474.6 MB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003891/0.4828, allocations: 0.9336 MB / 475.6 MB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007088/0.4899, allocations: 1.363 MB / 476.9 MB, free: 6.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004875/0.4948, allocations: 3.039 MB / 480 MB, free: 3.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01465/0.5095, allocations: 7.283 MB / 487.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0323/0.5418, allocations: 27.1 MB / 0.5023 GB, free: 1.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.5418, allocations: 0 / 0.5023 GB, free: 1.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5418, allocations: 0 / 0.5023 GB, free: 1.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001016/0.5429, allocations: 0 / 0.5023 GB, free: 1.16 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.04954/0.5924, allocations: 15.66 MB / 0.5176 GB, free: 1.387 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.5925, allocations: 8.031 kB / 0.5176 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04945/0.642, allocations: 8.337 MB / 0.5257 GB, free: 9.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4036/1.046, allocations: 9.924 MB / 0.5354 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001372/1.047, allocations: 1.061 MB / 0.5364 GB, free: 117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004605/1.052, allocations: 1.404 MB / 0.5378 GB, free: 117 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04904/1.101, allocations: 22.77 MB / 0.5601 GB, free: 108.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004705/1.101, allocations: 27.39 kB / 0.5601 GB, free: 108.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003614/1.105, allocations: 0.5752 MB / 0.5606 GB, free: 108 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009915/1.106, allocations: 0.7801 MB / 0.5614 GB, free: 107.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04009/1.146, allocations: 21.05 MB / 0.582 GB, free: 93.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1042/1.25, allocations: 73.78 MB / 0.654 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03209/1.282, allocations: 42.75 MB / 0.6958 GB, free: 3.191 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009631/1.292, allocations: 5.292 MB / 0.7009 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02399/1.316, allocations: 13.11 MB / 0.7137 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.572e-05/1.316, allocations: 86.78 kB / 0.7138 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=504): time 7.133e-06/1.316, allocations: 4 kB / 0.7138 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of matching and sorting (n=512): time 0.2936/1.61, allocations: 26.83 MB / 0.74 GB, free: 144.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/1.61, allocations: 132.9 kB / 0.7401 GB, free: 144 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01115/1.621, allocations: 5.778 MB / 0.7458 GB, free: 141.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009531/1.622, allocations: 108.9 kB / 0.7459 GB, free: 141.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003833/1.626, allocations: 6.163 MB / 0.7519 GB, free: 137.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00247/1.628, allocations: 1.743 MB / 0.7536 GB, free: 135.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/1.63, allocations: 0.5963 MB / 0.7542 GB, free: 135.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/1.631, allocations: 301.1 kB / 0.7545 GB, free: 135.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008004/1.639, allocations: 3.68 MB / 0.7581 GB, free: 133.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009465/1.648, allocations: 6.535 MB / 0.7645 GB, free: 128.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01467/1.663, allocations: 10.86 MB / 0.7751 GB, free: 121.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001715/1.663, allocations: 31.44 kB / 0.7751 GB, free: 121.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=968) (initialization): time 0.02684/1.69, allocations: 12.19 MB / 0.787 GB, free: 111.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.69, allocations: 49.56 kB / 0.787 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/1.69, allocations: 92 kB / 0.7871 GB, free: 111.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/1.695, allocations: 1.591 MB / 0.7887 GB, free: 110.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006986/1.702, allocations: 1.663 MB / 0.7903 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/1.724, allocations: 18.24 MB / 0.8081 GB, free: 90.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007748/1.732, allocations: 431.4 kB / 0.8085 GB, free: 89.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001897/1.734, allocations: 367.9 kB / 0.8089 GB, free: 89.33 MB / 494.1 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.01222/1.746, allocations: 5.188 MB / 0.8139 GB, free: 84.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002255/1.748, allocations: 0.6059 MB / 0.8145 GB, free: 83.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0195/1.768, allocations: 9.467 MB / 0.8238 GB, free: 73.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01098/1.779, allocations: 5.951 MB / 0.8296 GB, free: 67.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.196e-05/1.779, allocations: 27.75 kB / 0.8296 GB, free: 67.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001547/1.779, allocations: 27.89 kB / 0.8296 GB, free: 67.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04986/1.829, allocations: 21.19 MB / 0.8503 GB, free: 46.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/1.829, allocations: 8 kB / 0.8503 GB, free: 46.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004011/1.833, allocations: 0.8581 MB / 0.8512 GB, free: 45.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004645/1.838, allocations: 1.641 MB / 0.8528 GB, free: 44.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008555/1.838, allocations: 124 kB / 0.8529 GB, free: 43.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02125/1.86, allocations: 21.37 MB / 0.8738 GB, free: 21.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.86, allocations: 11.94 kB / 0.8738 GB, free: 21.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/1.882, allocations: 13.89 MB / 0.8873 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003992/1.886, allocations: 1.376 MB / 0.8887 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/1.889, allocations: 112 kB / 0.8888 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004483/1.893, allocations: 295.7 kB / 0.8891 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001343/1.895, allocations: 412.3 kB / 0.8895 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007086/1.895, allocations: 158.2 kB / 0.8896 GB, free: 5.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2674/2.163, allocations: 3.904 MB / 0.8934 GB, free: 134.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/2.163, allocations: 0 / 0.8934 GB, free: 134.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0139/2.177, allocations: 2.342 MB / 0.8957 GB, free: 134.2 MB / 494.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,5,100.0%), (1,8,100.0%), (1,13,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.001634/2.178, allocations: 316.7 kB / 0.896 GB, free: 134.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01983/2.198, allocations: 9.965 MB / 0.9058 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/2.198, allocations: 2.219 kB / 0.9058 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01129/2.209, allocations: 5.49 MB / 0.9111 GB, free: 130.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01747/2.227, allocations: 1.558 MB / 0.9126 GB, free: 129.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05733/2.284, allocations: 30.75 MB / 0.9427 GB, free: 112.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/2.299, allocations: 8.578 MB / 0.951 GB, free: 109.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/2.302, allocations: 0.5122 MB / 0.9515 GB, free: 109.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.422e-06/2.302, allocations: 0 / 0.9515 GB, free: 109.7 MB / 494.1 MB Notification: Performance of Templates: time 1.41/3.712, allocations: 0.667 GB / 1.619 GB, free: 31.49 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches