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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 115.7 kB / 18.46 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 196.1 kB / 21.4 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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=10000,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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 51.92 kB / 366.8 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09343, allocations: 52.14 MB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.2398/0.3332, allocations: 38.43 MB / 457.4 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02044/0.3536, allocations: 10.05 MB / 467.5 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00834/0.362, allocations: 291.3 kB / 467.8 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02323/0.3852, allocations: 10.31 MB / 478.1 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.4, allocations: 4.132 MB / 482.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008797/0.4088, allocations: 2.392 MB / 484.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02527/0.434, allocations: 16.37 MB / 0.4892 GB, free: 3.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04606/0.4801, allocations: 23.68 MB / 0.5123 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01878/0.4989, allocations: 8.513 MB / 0.5207 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02198/0.5209, allocations: 9.421 MB / 0.5299 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01025/0.5311, allocations: 2.414 MB / 0.5322 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.545, allocations: 2.82 MB / 0.535 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01058/0.5556, allocations: 4.82 MB / 0.5397 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02371/0.5793, allocations: 9.199 MB / 0.5487 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0523/0.6316, allocations: 32.18 MB / 0.5801 GB, free: 8.125 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6316, allocations: 4 kB / 0.5801 GB, free: 8.121 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6316, allocations: 0 / 0.5801 GB, free: 8.121 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0009104/0.6325, allocations: 3.938 kB / 0.5801 GB, free: 8.117 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: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06812/0.7006, allocations: 19.02 MB / 0.5987 GB, free: 4.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.7007, allocations: 12.03 kB / 0.5987 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05223/0.7529, allocations: 8.365 MB / 0.6068 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02931/0.7822, allocations: 10.23 MB / 0.6168 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001491/0.7837, allocations: 1.06 MB / 0.6179 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006647/0.7904, allocations: 1.398 MB / 0.6192 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5033/1.294, allocations: 22.74 MB / 0.6414 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006101/1.294, allocations: 20.12 kB / 0.6415 GB, free: 136.8 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005134/1.299, allocations: 0.5766 MB / 0.642 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002556/1.302, allocations: 0.7796 MB / 0.6428 GB, free: 136.6 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04994/1.352, allocations: 21.01 MB / 0.6633 GB, free: 128.6 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.123/1.475, allocations: 72.18 MB / 0.7338 GB, free: 73.38 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02832/1.503, allocations: 41.78 MB / 0.7746 GB, free: 26.73 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008345/1.512, allocations: 4.712 MB / 0.7792 GB, free: 22 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0263/1.538, allocations: 12.69 MB / 0.7916 GB, free: 9.523 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.692e-05/1.538, allocations: 86.77 kB / 0.7917 GB, free: 9.43 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 8.466e-06/1.538, allocations: 0 / 0.7917 GB, free: 9.43 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.06985/1.608, allocations: 26.54 MB / 0.8176 GB, free: 15.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/1.608, allocations: 129.3 kB / 0.8177 GB, free: 14.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/1.623, allocations: 5.762 MB / 0.8234 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001213/1.624, allocations: 109.7 kB / 0.8235 GB, free: 9.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.006623/1.63, allocations: 6.367 MB / 0.8297 GB, free: 2.938 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.003045/1.633, allocations: 1.806 MB / 0.8314 GB, free: 1.156 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004897/1.638, allocations: 1.47 MB / 0.8329 GB, free: 15.68 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.638, allocations: 301.1 kB / 0.8332 GB, free: 15.38 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006396/1.645, allocations: 3.63 MB / 0.8367 GB, free: 11.75 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00947/1.654, allocations: 6.482 MB / 0.843 GB, free: 3.969 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3059/1.96, allocations: 10.75 MB / 0.8535 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/1.96, allocations: 30.22 kB / 0.8536 GB, free: 168.8 MB / 0.5607 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02828/1.989, allocations: 12.06 MB / 0.8653 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.989, allocations: 49.83 kB / 0.8654 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/1.989, allocations: 92.84 kB / 0.8655 GB, free: 164.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005518/1.995, allocations: 1.583 MB / 0.867 GB, free: 164 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007594/2.002, allocations: 1.665 MB / 0.8687 GB, free: 163.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/2.025, allocations: 19.64 MB / 0.8878 GB, free: 150.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008663/2.034, allocations: 429.6 kB / 0.8882 GB, free: 150.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/2.036, allocations: 366.3 kB / 0.8886 GB, free: 150.7 MB / 0.5607 GB 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 (865): * Single equations (assignments): 858 * 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,52.1%), (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.01113/2.047, allocations: 5.184 MB / 0.8937 GB, free: 148.2 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001988/2.049, allocations: 0.6279 MB / 0.8943 GB, free: 148.2 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01593/2.065, allocations: 9.305 MB / 0.9034 GB, free: 144.3 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008891/2.074, allocations: 5.822 MB / 0.909 GB, free: 142.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.66e-05/2.074, allocations: 24.22 kB / 0.9091 GB, free: 142 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.034e-05/2.074, allocations: 25.41 kB / 0.9091 GB, free: 142 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04152/2.115, allocations: 20.94 MB / 0.9295 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/2.115, allocations: 4 kB / 0.9295 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/2.119, allocations: 0.8706 MB / 0.9304 GB, free: 128.4 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004405/2.123, allocations: 1.644 MB / 0.932 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000682/2.124, allocations: 131.9 kB / 0.9321 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/2.146, allocations: 23.22 MB / 0.9548 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/2.146, allocations: 8 kB / 0.9548 GB, free: 102.6 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01922/2.165, allocations: 13.68 MB / 0.9682 GB, free: 88.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003579/2.169, allocations: 1.383 MB / 0.9695 GB, free: 87.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/2.17, allocations: 112 kB / 0.9696 GB, free: 87.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/2.174, allocations: 290.9 kB / 0.9699 GB, free: 87.11 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009736/2.175, allocations: 408.3 kB / 0.9703 GB, free: 86.71 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003322/2.176, allocations: 155.9 kB / 0.9704 GB, free: 86.55 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006072/2.182, allocations: 3.879 MB / 0.9742 GB, free: 82.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1e-07/2.182, allocations: 4 kB / 0.9742 GB, free: 82.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01307/2.195, allocations: 2.338 MB / 0.9765 GB, free: 80.37 MB / 0.5607 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.001604/2.196, allocations: 327.6 kB / 0.9768 GB, free: 80.06 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01612/2.212, allocations: 9.507 MB / 0.9861 GB, free: 70.45 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/2.212, allocations: 4 kB / 0.9861 GB, free: 70.44 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008951/2.221, allocations: 5.13 MB / 0.9911 GB, free: 65.23 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/2.232, allocations: 1.641 MB / 0.9927 GB, free: 63.64 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05058/2.283, allocations: 24.57 MB / 1.017 GB, free: 38.95 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01242/2.295, allocations: 8.564 MB / 1.025 GB, free: 30.35 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/2.298, allocations: 0.5111 MB / 1.026 GB, free: 29.84 MB / 0.5607 GB Notification: Performance of SimCode: time 1.673e-06/2.298, allocations: 0 / 1.026 GB, free: 29.84 MB / 0.5607 GB Notification: Performance of Templates: time 1.681/3.978, allocations: 0.6693 GB / 1.695 GB, free: 45.3 MB / 0.6075 GB " [Timeout remaining time 656] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 28.20610211486928]