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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002401/0.002401, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002809/0.002809, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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=10000,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=10000,variableFilter="time|Itr|Iqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 272.2 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.07e-05, allocations: 9.266 kB / 272.2 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.1998/0.1998, allocations: 38 MB / 310.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01936/0.2192, allocations: 10.26 MB / 320.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008873/0.228, allocations: 359.2 kB / 320.9 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02728/0.2553, allocations: 10.85 MB / 331.7 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01722/0.2725, allocations: 4.26 MB / 336 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008863/0.2814, allocations: 2.461 MB / 338.4 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02861/0.31, allocations: 17.25 MB / 355.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04438/0.3544, allocations: 20.39 MB / 376.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03208/0.3865, allocations: 12.89 MB / 389 MB, free: 13.73 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01923/0.4057, allocations: 8.986 MB / 398 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.007772/0.4135, allocations: 2.414 MB / 400.4 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.4254, allocations: 2.835 MB / 403.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009305/0.4348, allocations: 4.995 MB / 408.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01827/0.453, allocations: 6.269 MB / 414.5 MB, free: 4.188 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.354/0.807, allocations: 32.82 MB / 447.3 MB, free: 55.4 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.807, allocations: 0.7188 kB / 447.3 MB, free: 55.4 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.684e-06/0.807, allocations: 2.406 kB / 447.3 MB, free: 55.4 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0009606/0.808, allocations: 1 kB / 447.3 MB, free: 55.4 MB / 378.8 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.06731/0.8753, allocations: 21.72 MB / 469 MB, free: 47.27 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8753, allocations: 11.64 kB / 469 MB, free: 47.27 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05267/0.928, allocations: 10.53 MB / 479.6 MB, free: 42.96 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02455/0.9526, allocations: 9.927 MB / 489.5 MB, free: 36.6 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009532/0.9535, allocations: 1.058 MB / 490.5 MB, free: 36.12 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006489/0.96, allocations: 1.403 MB / 492 MB, free: 34.91 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0569/1.017, allocations: 23.54 MB / 0.5034 GB, free: 11.23 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005492/1.017, allocations: 23.45 kB / 0.5034 GB, free: 11.21 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007318/1.025, allocations: 0.5769 MB / 0.504 GB, free: 10.64 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006692/1.025, allocations: 0.7715 MB / 0.5047 GB, free: 9.871 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04627/1.072, allocations: 18.72 MB / 0.523 GB, free: 7.145 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3598/1.432, allocations: 133.5 MB / 0.6534 GB, free: 120.8 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02149/1.453, allocations: 13.1 MB / 0.6662 GB, free: 111.8 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006416/1.459, allocations: 4.152 MB / 0.6703 GB, free: 107.6 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02323/1.483, allocations: 12.2 MB / 0.6822 GB, free: 95.49 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/1.483, allocations: 89.59 kB / 0.6823 GB, free: 95.39 MB / 458.8 MB Notification: Performance of pre-optimization done (n=498): time 8.576e-06/1.483, allocations: 0 / 0.6823 GB, free: 95.39 MB / 458.8 MB Notification: Performance of matching and sorting (n=506): time 0.05206/1.535, allocations: 23.28 MB / 0.705 GB, free: 71.95 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/1.535, allocations: 137.3 kB / 0.7051 GB, free: 71.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009635/1.544, allocations: 7.836 MB / 0.7128 GB, free: 63.98 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009021/1.545, allocations: 109.7 kB / 0.7129 GB, free: 63.87 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003166/1.549, allocations: 7.094 MB / 0.7198 GB, free: 56.76 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001837/1.55, allocations: 2.009 MB / 0.7218 GB, free: 54.77 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.553, allocations: 1.955 MB / 0.7237 GB, free: 52.81 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/1.553, allocations: 480.7 kB / 0.7242 GB, free: 52.34 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/1.557, allocations: 2.962 MB / 0.7271 GB, free: 49.37 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005725/1.563, allocations: 7.544 MB / 0.7344 GB, free: 40.03 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/1.574, allocations: 11.6 MB / 0.7458 GB, free: 26.61 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001406/1.574, allocations: 28 kB / 0.7458 GB, free: 26.59 MB / 458.8 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.01859/1.593, allocations: 11.09 MB / 0.7566 GB, free: 15.43 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/1.593, allocations: 47.94 kB / 0.7567 GB, free: 15.39 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/1.593, allocations: 92 kB / 0.7567 GB, free: 15.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/1.598, allocations: 1.859 MB / 0.7586 GB, free: 13.42 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006153/1.604, allocations: 1.665 MB / 0.7602 GB, free: 11.75 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1879/1.792, allocations: 21.26 MB / 0.781 GB, free: 130.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006545/1.799, allocations: 428.5 kB / 0.7814 GB, free: 130.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0015/1.8, allocations: 376.4 kB / 0.7817 GB, free: 130.2 MB / 458.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.008812/1.809, allocations: 4.701 MB / 0.7863 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/1.811, allocations: 0.7575 MB / 0.7871 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01597/1.827, allocations: 7.909 MB / 0.7948 GB, free: 129.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008845/1.836, allocations: 5.002 MB / 0.7997 GB, free: 129.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-05/1.836, allocations: 23.23 kB / 0.7997 GB, free: 129.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/1.836, allocations: 26.39 kB / 0.7997 GB, free: 129.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04229/1.878, allocations: 22.28 MB / 0.8215 GB, free: 123 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.537e-05/1.878, allocations: 10.16 kB / 0.8215 GB, free: 123 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003996/1.882, allocations: 0.8717 MB / 0.8223 GB, free: 122.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006199/1.888, allocations: 1.907 MB / 0.8242 GB, free: 122.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001088/1.89, allocations: 133.6 kB / 0.8243 GB, free: 122.4 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02329/1.913, allocations: 25.75 MB / 0.8495 GB, free: 98.16 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.913, allocations: 12.06 kB / 0.8495 GB, free: 98.14 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/1.932, allocations: 11.79 MB / 0.861 GB, free: 86.33 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004265/1.936, allocations: 1.197 MB / 0.8622 GB, free: 85.46 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001597/1.938, allocations: 104 kB / 0.8623 GB, free: 85.36 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/1.942, allocations: 287.6 kB / 0.8625 GB, free: 85.08 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001156/1.943, allocations: 440.1 kB / 0.863 GB, free: 84.65 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003841/1.943, allocations: 160 kB / 0.8631 GB, free: 84.49 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.006083/1.95, allocations: 4.019 MB / 0.867 GB, free: 80.49 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.61e-07/1.95, allocations: 2.297 kB / 0.867 GB, free: 80.49 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01077/1.96, allocations: 2.331 MB / 0.8693 GB, free: 78.17 MB / 458.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,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.001184/1.961, allocations: 316.3 kB / 0.8696 GB, free: 77.87 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01438/1.976, allocations: 9.395 MB / 0.8788 GB, free: 68.38 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.976, allocations: 0 / 0.8788 GB, free: 68.38 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008224/1.984, allocations: 5.265 MB / 0.8839 GB, free: 63.04 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009707/1.994, allocations: 1.494 MB / 0.8854 GB, free: 61.62 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0402/2.034, allocations: 23.45 MB / 0.9083 GB, free: 37.95 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/2.045, allocations: 7.766 MB / 0.9159 GB, free: 30.13 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.006025/2.051, allocations: 2.122 MB / 0.9179 GB, free: 28 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/2.052, allocations: 468.4 kB / 0.9184 GB, free: 27.55 MB / 458.8 MB Notification: Performance of SimCode: time 3.145e-06/2.052, allocations: 0 / 0.9184 GB, free: 27.55 MB / 458.8 MB Notification: Performance of Templates: time 0.3447/2.397, allocations: 88.88 MB / 1.005 GB, free: 92.35 MB / 458.8 MB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.094955479959026]