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.001016/0.001016, allocations: 83.89 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0009355/0.0009355, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 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 0.9561/0.9561, allocations: 173.4 MB / 201.1 MB, free: 9.305 MB / 186.7 MB " [Timeout remaining time 179] 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.434e-06/2.434e-06, allocations: 0 / 268 MB, free: 6.359 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.756e-05, allocations: 6.25 kB / 268 MB, free: 6.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1594/0.1595, allocations: 37.64 MB / 305.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.1793, allocations: 9.97 MB / 315.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008249/0.1875, allocations: 351.5 kB / 316 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0137/0.2012, allocations: 10.92 MB / 326.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.2144, allocations: 4.245 MB / 331.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006121/0.2205, allocations: 2.404 MB / 333.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01945/0.2399, allocations: 17.09 MB / 350.7 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03864/0.2786, allocations: 20.38 MB / 371 MB, free: 3.395 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02977/0.3083, allocations: 12.9 MB / 383.9 MB, free: 6.477 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01522/0.3236, allocations: 9.154 MB / 393.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006527/0.3301, allocations: 2.41 MB / 395.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008698/0.3388, allocations: 2.808 MB / 398.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008001/0.3468, allocations: 4.987 MB / 403.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01315/0.3599, allocations: 6.254 MB / 409.5 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02573/0.3857, allocations: 15.34 MB / 424.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3857, allocations: 0 / 424.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3857, allocations: 0 / 424.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007865/0.3865, allocations: 0 / 424.9 MB, free: 13.43 MB / 378.7 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.2912/0.6777, allocations: 19.96 MB / 444.8 MB, free: 81.71 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.6777, allocations: 10.66 kB / 444.9 MB, free: 81.71 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/0.706, allocations: 10.64 MB / 455.5 MB, free: 80.85 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/0.7226, allocations: 9.775 MB / 465.3 MB, free: 77.64 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008888/0.7235, allocations: 1.057 MB / 466.3 MB, free: 77.16 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004368/0.7279, allocations: 1.409 MB / 467.7 MB, free: 76.44 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03617/0.764, allocations: 12.26 MB / 480 MB, free: 65.44 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004588/0.7645, allocations: 23.36 kB / 480 MB, free: 65.42 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002901/0.7674, allocations: 0.5752 MB / 480.6 MB, free: 64.86 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004415/0.7678, allocations: 0.7715 MB / 481.4 MB, free: 64.08 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01999/0.7878, allocations: 6.596 MB / 488 MB, free: 57.48 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07609/0.8639, allocations: 58.5 MB / 0.5337 GB, free: 15.43 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01401/0.8779, allocations: 11.52 MB / 0.5449 GB, free: 5.863 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004085/0.882, allocations: 2.243 MB / 0.5471 GB, free: 3.613 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/0.8958, allocations: 8.189 MB / 0.5551 GB, free: 11.74 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.352e-05/0.8959, allocations: 89.59 kB / 0.5552 GB, free: 11.64 MB / 410.8 MB Notification: Performance of pre-optimization done (n=498): time 7.394e-06/0.8959, allocations: 0 / 0.5552 GB, free: 11.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=506): time 0.03308/0.929, allocations: 16.89 MB / 0.5717 GB, free: 10.84 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.929, allocations: 137.3 kB / 0.5718 GB, free: 10.68 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00684/0.9359, allocations: 4.928 MB / 0.5766 GB, free: 5.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009108/0.9368, allocations: 105.7 kB / 0.5767 GB, free: 5.66 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.1552/1.092, allocations: 6.654 MB / 0.5832 GB, free: 104.6 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002111/1.094, allocations: 1.857 MB / 0.585 GB, free: 104.6 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/1.096, allocations: 1.622 MB / 0.5866 GB, free: 104.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 4.64e-05/1.096, allocations: 478.3 kB / 0.5871 GB, free: 104 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/1.098, allocations: 1.142 MB / 0.5882 GB, free: 104 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003674/1.102, allocations: 5.424 MB / 0.5935 GB, free: 98.87 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006016/1.108, allocations: 7.237 MB / 0.6006 GB, free: 93.79 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-05/1.108, allocations: 24.84 kB / 0.6006 GB, free: 93.79 MB / 426.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01087/1.119, allocations: 7.067 MB / 0.6075 GB, free: 93.12 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.317e-05/1.119, allocations: 45.44 kB / 0.6075 GB, free: 93.12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/1.119, allocations: 94.62 kB / 0.6076 GB, free: 93.12 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/1.122, allocations: 1.38 MB / 0.609 GB, free: 93 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003429/1.126, allocations: 1.669 MB / 0.6106 GB, free: 93 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.137, allocations: 15.56 MB / 0.6258 GB, free: 83.35 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004273/1.141, allocations: 426.7 kB / 0.6262 GB, free: 83.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000619/1.142, allocations: 368.7 kB / 0.6265 GB, free: 83.32 MB / 426.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 (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.00319/1.145, allocations: 0.6517 MB / 0.6272 GB, free: 83.16 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.146, allocations: 0.7461 MB / 0.6279 GB, free: 82.84 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/1.153, allocations: 5.166 MB / 0.633 GB, free: 82.38 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003788/1.157, allocations: 2.811 MB / 0.6357 GB, free: 82.17 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-05/1.157, allocations: 17.81 kB / 0.6357 GB, free: 82.17 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.901e-05/1.157, allocations: 31.44 kB / 0.6357 GB, free: 82.17 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/1.177, allocations: 14.88 MB / 0.6503 GB, free: 73.04 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.177, allocations: 4.875 kB / 0.6503 GB, free: 73.04 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.179, allocations: 0.8689 MB / 0.6511 GB, free: 72.37 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/1.182, allocations: 1.41 MB / 0.6525 GB, free: 71.34 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002298/1.182, allocations: 125.7 kB / 0.6526 GB, free: 71.23 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/1.193, allocations: 19.83 MB / 0.672 GB, free: 51.71 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.193, allocations: 12.84 kB / 0.672 GB, free: 51.7 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009596/1.202, allocations: 6.536 MB / 0.6784 GB, free: 45.62 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.205, allocations: 1.195 MB / 0.6796 GB, free: 44.57 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005768/1.205, allocations: 110.8 kB / 0.6797 GB, free: 44.46 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.207, allocations: 285 kB / 0.6799 GB, free: 44.26 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007715/1.207, allocations: 430.7 kB / 0.6804 GB, free: 44.05 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/1.208, allocations: 159.2 kB / 0.6805 GB, free: 43.9 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002609/1.21, allocations: 2.339 MB / 0.6828 GB, free: 41.86 MB / 426.8 MB Notification: Performance of sort global known variables: time 2e-07/1.21, allocations: 0 / 0.6828 GB, free: 41.86 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006489/1.217, allocations: 2.334 MB / 0.6851 GB, free: 39.54 MB / 426.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 (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.0006599/1.217, allocations: 329 kB / 0.6854 GB, free: 39.27 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.007851/1.225, allocations: 5.998 MB / 0.6912 GB, free: 33.45 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.225, allocations: 1.094 kB / 0.6912 GB, free: 33.45 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003745/1.229, allocations: 3.867 MB / 0.695 GB, free: 29.54 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006716/1.236, allocations: 1.466 MB / 0.6964 GB, free: 28.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/1.28, allocations: 21.15 MB / 0.7171 GB, free: 6.766 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004998/1.285, allocations: 3.814 MB / 0.7208 GB, free: 2.918 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.005263/1.29, allocations: 2.126 MB / 0.7229 GB, free: 0.7852 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.291, allocations: 440.4 kB / 0.7233 GB, free: 364 kB / 426.8 MB Notification: Performance of SimCode: time 2.515e-06/1.291, allocations: 0 / 0.7233 GB, free: 364 kB / 426.8 MB Notification: Performance of Templates: time 0.2739/1.565, allocations: 92.5 MB / 0.8137 GB, free: 69.45 MB / 442.8 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0777931320481]