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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 102.6 kB / 21.93 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 202.2 kB / 25.22 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 207.7 MB / 236.1 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 55.91 kB / 348.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2765, allocations: 49.16 MB / 397.6 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03901/0.3155, allocations: 32.89 MB / 430.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0267/0.3422, allocations: 9.749 MB / 440.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009985/0.3522, allocations: 302.2 kB / 440.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03191/0.3841, allocations: 9.6 MB / 450.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01724/0.4014, allocations: 4.145 MB / 454.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008814/0.4102, allocations: 2.433 MB / 456.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02602/0.4362, allocations: 16.66 MB / 473.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04485/0.4811, allocations: 20.3 MB / 493.7 MB, free: 2.648 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01723/0.4983, allocations: 8.79 MB / 0.4907 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01786/0.5161, allocations: 9.14 MB / 0.4997 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007965/0.5241, allocations: 2.422 MB / 0.502 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.5343, allocations: 2.8 MB / 0.5048 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009526/0.5439, allocations: 4.886 MB / 0.5095 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01997/0.5638, allocations: 7.226 MB / 0.5166 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05091/0.6147, allocations: 32.34 MB / 0.5482 GB, free: 14.85 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.6147, allocations: 0 / 0.5482 GB, free: 14.85 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.6147, allocations: 0 / 0.5482 GB, free: 14.85 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001056/0.6158, allocations: 0 / 0.5482 GB, free: 14.85 MB / 478.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.5179/1.134, allocations: 19.11 MB / 0.5668 GB, free: 124.1 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/1.134, allocations: 16.92 kB / 0.5668 GB, free: 124.1 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08928/1.223, allocations: 9.358 MB / 0.576 GB, free: 122.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02913/1.252, allocations: 9.273 MB / 0.585 GB, free: 117.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001541/1.254, allocations: 1.068 MB / 0.5861 GB, free: 117 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008027/1.262, allocations: 1.421 MB / 0.5875 GB, free: 116.6 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08067/1.342, allocations: 23.51 MB / 0.6104 GB, free: 94.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008146/1.343, allocations: 23.89 kB / 0.6104 GB, free: 94.12 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006557/1.35, allocations: 0.5881 MB / 0.611 GB, free: 93.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001023/1.351, allocations: 0.811 MB / 0.6118 GB, free: 92.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05364/1.404, allocations: 21.6 MB / 0.6329 GB, free: 71.11 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.109/1.513, allocations: 63.92 MB / 0.6953 GB, free: 6.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02737/1.541, allocations: 15.82 MB / 0.7108 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01003/1.551, allocations: 4.863 MB / 0.7155 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03264/1.583, allocations: 13.85 MB / 0.7291 GB, free: 7.051 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/1.584, allocations: 90.7 kB / 0.7291 GB, free: 6.949 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=498): time 8.807e-06/1.584, allocations: 0 / 0.7291 GB, free: 6.949 MB / 0.4982 GB Notification: Performance of matching and sorting (n=506): time 0.06895/1.653, allocations: 26.34 MB / 0.7549 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/1.653, allocations: 133.3 kB / 0.755 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.663, allocations: 5.652 MB / 0.7605 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001066/1.664, allocations: 109.7 kB / 0.7606 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.005503/1.67, allocations: 6.518 MB / 0.767 GB, free: 4 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.243/1.913, allocations: 1.812 MB / 0.7687 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00327/1.916, allocations: 1.532 MB / 0.7702 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/1.916, allocations: 305.8 kB / 0.7705 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006358/1.922, allocations: 3.689 MB / 0.7741 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008549/1.931, allocations: 6.819 MB / 0.7808 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/1.946, allocations: 11.14 MB / 0.7917 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002456/1.946, allocations: 29.53 kB / 0.7917 GB, free: 158.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02314/1.969, allocations: 12.27 MB / 0.8037 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002389/1.969, allocations: 47.12 kB / 0.8037 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002624/1.97, allocations: 101.3 kB / 0.8038 GB, free: 153.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005161/1.975, allocations: 1.602 MB / 0.8054 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007978/1.983, allocations: 1.747 MB / 0.8071 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/2.005, allocations: 18.72 MB / 0.8254 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007114/2.012, allocations: 438.6 kB / 0.8258 GB, free: 138.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001758/2.014, allocations: 391.1 kB / 0.8262 GB, free: 138.2 MB / 0.5294 GB 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 (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.2%), (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.01188/2.025, allocations: 5.252 MB / 0.8313 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002715/2.028, allocations: 0.601 MB / 0.8319 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01966/2.048, allocations: 9.138 MB / 0.8408 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0103/2.058, allocations: 5.837 MB / 0.8465 GB, free: 119 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.482e-05/2.058, allocations: 16 kB / 0.8465 GB, free: 119 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001386/2.058, allocations: 34.7 kB / 0.8466 GB, free: 118.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04264/2.101, allocations: 17.97 MB / 0.8641 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.809e-05/2.101, allocations: 8 kB / 0.8641 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004077/2.105, allocations: 0.8661 MB / 0.865 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004741/2.11, allocations: 1.646 MB / 0.8666 GB, free: 98.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/2.111, allocations: 124 kB / 0.8667 GB, free: 98.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02337/2.134, allocations: 21.99 MB / 0.8882 GB, free: 75.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/2.134, allocations: 11.94 kB / 0.8882 GB, free: 75.61 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02352/2.158, allocations: 13.52 MB / 0.9014 GB, free: 61.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004866/2.163, allocations: 1.297 MB / 0.9026 GB, free: 60.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002382/2.165, allocations: 108 kB / 0.9027 GB, free: 60.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004974/2.17, allocations: 283.7 kB / 0.903 GB, free: 60.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001556/2.172, allocations: 436.1 kB / 0.9034 GB, free: 59.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008637/2.173, allocations: 152 kB / 0.9036 GB, free: 59.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007971/2.18, allocations: 3.655 MB / 0.9071 GB, free: 55.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/2.18, allocations: 0 / 0.9071 GB, free: 55.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01326/2.194, allocations: 2.359 MB / 0.9095 GB, free: 53.52 MB / 0.5294 GB 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001846/2.196, allocations: 310.1 kB / 0.9097 GB, free: 53.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01778/2.213, allocations: 9.559 MB / 0.9191 GB, free: 43.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/2.213, allocations: 4.781 kB / 0.9191 GB, free: 43.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009316/2.223, allocations: 5.151 MB / 0.9241 GB, free: 38.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/2.234, allocations: 1.44 MB / 0.9255 GB, free: 36.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05412/2.288, allocations: 25.09 MB / 0.95 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0161/2.304, allocations: 8.288 MB / 0.9581 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003262/2.307, allocations: 0.5072 MB / 0.9586 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/2.307, allocations: 0 / 0.9586 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of Templates: time 2.183/4.491, allocations: 0.6763 GB / 1.635 GB, free: 184.5 MB / 0.5763 GB " [Timeout remaining time 656] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 27.052198114804924]