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.001349/0.001349, allocations: 96.72 kB / 20.96 MB, free: 480 kB / 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.001342/0.001342, allocations: 152.8 kB / 24.25 MB, free: 3.527 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.44/1.44, allocations: 173.3 MB / 200.8 MB, free: 12.75 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 2.034e-06/2.034e-06, allocations: 0 / 267.4 MB, free: 10.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.185e-05/3.388e-05, allocations: 6.25 kB / 267.4 MB, free: 10.16 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04292/0.04295, allocations: 32.89 MB / 300.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1844/0.2274, allocations: 9.811 MB / 310.1 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009597/0.2369, allocations: 348.6 kB / 310.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02567/0.2626, allocations: 10.07 MB / 320.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01495/0.2776, allocations: 4.223 MB / 324.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007384/0.285, allocations: 2.379 MB / 327.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.01976/0.3047, allocations: 17.06 MB / 344.1 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04093/0.3456, allocations: 20.36 MB / 364.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03216/0.3778, allocations: 12.77 MB / 377.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01864/0.3964, allocations: 8.136 MB / 385.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007311/0.4038, allocations: 2.414 MB / 387.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/0.4163, allocations: 2.809 MB / 390.6 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01087/0.4272, allocations: 4.908 MB / 395.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01664/0.4439, allocations: 6.181 MB / 401.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04714/0.491, allocations: 32.6 MB / 434.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.491, allocations: 0 / 434.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.491, allocations: 0 / 434.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009162/0.4919, allocations: 4 kB / 434.3 MB, free: 15.53 MB / 382.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.06724/0.5592, allocations: 18.77 MB / 453.1 MB, free: 12.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.5592, allocations: 12.92 kB / 453.1 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06127/0.6205, allocations: 10.63 MB / 463.7 MB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2813/0.9018, allocations: 10.73 MB / 474.5 MB, free: 117.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00106/0.9029, allocations: 1.06 MB / 475.5 MB, free: 116.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006726/0.9096, allocations: 1.403 MB / 476.9 MB, free: 116.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08072/0.9903, allocations: 23.05 MB / 500 MB, free: 104.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008897/0.9912, allocations: 19.16 kB / 500 MB, free: 104.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005527/0.9967, allocations: 0.5798 MB / 0.4888 GB, free: 104.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007276/0.9975, allocations: 0.7754 MB / 0.4896 GB, free: 103.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04055/1.038, allocations: 20.93 MB / 0.51 GB, free: 82.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1238/1.162, allocations: 64.66 MB / 0.5732 GB, free: 17.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03142/1.193, allocations: 13.82 MB / 0.5867 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008031/1.201, allocations: 4.716 MB / 0.5913 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03077/1.232, allocations: 11.4 MB / 0.6024 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/1.232, allocations: 90.7 kB / 0.6025 GB, free: 5.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=498): time 1.058e-05/1.232, allocations: 4 kB / 0.6025 GB, free: 5.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=506): time 0.2075/1.44, allocations: 25.94 MB / 0.6278 GB, free: 113.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/1.44, allocations: 132 kB / 0.6279 GB, free: 113.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007428/1.447, allocations: 5.476 MB / 0.6333 GB, free: 111.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.448, allocations: 113.1 kB / 0.6334 GB, free: 111.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002945/1.451, allocations: 6.349 MB / 0.6396 GB, free: 107.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001981/1.453, allocations: 1.792 MB / 0.6414 GB, free: 106.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002307/1.455, allocations: 1.451 MB / 0.6428 GB, free: 105.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.895e-05/1.456, allocations: 309 kB / 0.6431 GB, free: 105.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005435/1.461, allocations: 3.63 MB / 0.6466 GB, free: 103.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006701/1.468, allocations: 6.523 MB / 0.653 GB, free: 98.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.48, allocations: 10.76 MB / 0.6635 GB, free: 91.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.48, allocations: 25.75 kB / 0.6635 GB, free: 91.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02478/1.505, allocations: 12.31 MB / 0.6755 GB, free: 81.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001345/1.505, allocations: 44 kB / 0.6756 GB, free: 81.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/1.505, allocations: 97.09 kB / 0.6757 GB, free: 81.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004676/1.51, allocations: 1.599 MB / 0.6772 GB, free: 80.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006596/1.517, allocations: 1.662 MB / 0.6789 GB, free: 78.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02199/1.539, allocations: 18.81 MB / 0.6972 GB, free: 59.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006888/1.545, allocations: 427.6 kB / 0.6976 GB, free: 58.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.547, allocations: 364 kB / 0.698 GB, free: 58.57 MB / 414.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 (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.009926/1.557, allocations: 5.196 MB / 0.7031 GB, free: 53.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002987/1.56, allocations: 0.7501 MB / 0.7038 GB, free: 52.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01759/1.577, allocations: 9.115 MB / 0.7127 GB, free: 43.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01028/1.588, allocations: 5.829 MB / 0.7184 GB, free: 37.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001155/1.588, allocations: 24 kB / 0.7184 GB, free: 37.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001791/1.588, allocations: 27.89 kB / 0.7184 GB, free: 37.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03709/1.625, allocations: 17.92 MB / 0.7359 GB, free: 19.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.625, allocations: 7.938 kB / 0.7359 GB, free: 19.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003988/1.629, allocations: 0.8665 MB / 0.7368 GB, free: 18.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0047/1.634, allocations: 1.633 MB / 0.7384 GB, free: 17.06 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008466/1.635, allocations: 128 kB / 0.7385 GB, free: 16.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02539/1.66, allocations: 22.12 MB / 0.7601 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.66, allocations: 4 kB / 0.7601 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1786/1.839, allocations: 13.66 MB / 0.7734 GB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00439/1.843, allocations: 1.303 MB / 0.7747 GB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/1.845, allocations: 108.4 kB / 0.7748 GB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/1.848, allocations: 285.5 kB / 0.7751 GB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/1.849, allocations: 424.9 kB / 0.7755 GB, free: 118.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003734/1.85, allocations: 157.3 kB / 0.7756 GB, free: 118.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00625/1.856, allocations: 3.571 MB / 0.7791 GB, free: 118.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.856, allocations: 0 / 0.7791 GB, free: 118.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009626/1.866, allocations: 2.33 MB / 0.7814 GB, free: 118.5 MB / 430.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 (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.001169/1.867, allocations: 334.7 kB / 0.7817 GB, free: 118.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01515/1.882, allocations: 9.442 MB / 0.791 GB, free: 114.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.882, allocations: 2.906 kB / 0.791 GB, free: 114.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008774/1.891, allocations: 5.135 MB / 0.796 GB, free: 112.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00979/1.901, allocations: 1.435 MB / 0.7974 GB, free: 111.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04871/1.949, allocations: 25.22 MB / 0.822 GB, free: 98.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01253/1.962, allocations: 8.489 MB / 0.8303 GB, free: 92.02 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.007389/1.969, allocations: 2.475 MB / 0.8327 GB, free: 90.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/1.971, allocations: 444.7 kB / 0.8331 GB, free: 89.93 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/1.971, allocations: 3.5 kB / 0.8331 GB, free: 89.93 MB / 430.1 MB Notification: Performance of Templates: time 0.1429/2.114, allocations: 88.01 MB / 0.9191 GB, free: 5.195 MB / 430.1 MB " [Timeout remaining time 658] 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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.4998639523983]