Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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.001507/0.001507, allocations: 119.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001637/0.001637, allocations: 206.3 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.06 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2593, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01205/0.2713, allocations: 9.515 MB / 441.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006547/0.2779, allocations: 3.069 MB / 444.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.2795, allocations: 47.81 kB / 444.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002011/0.2816, allocations: 0.6678 MB / 445.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.2844, allocations: 0.8117 MB / 446.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/0.2853, allocations: 375.4 kB / 446.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.2887, allocations: 2.669 MB / 449.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.2906, allocations: 1.163 MB / 450.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.2925, allocations: 1.203 MB / 451.6 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.295, allocations: 1.537 MB / 453.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.2955, allocations: 311.9 kB / 453.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008872/0.2964, allocations: 407.9 kB / 453.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000963/0.2974, allocations: 0.9037 MB / 454.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.2993, allocations: 1.408 MB / 456.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.3045, allocations: 4.118 MB / 460.2 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/0.3046, allocations: 0 / 460.2 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.3046, allocations: 0 / 460.2 MB, free: 11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001093/0.3047, allocations: 0 / 460.2 MB, free: 11 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006896/0.3116, allocations: 2.932 MB / 463.2 MB, free: 8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3116, allocations: 8.031 kB / 463.2 MB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.3127, allocations: 335.1 kB / 463.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.3159, allocations: 1.564 MB / 465.1 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.316, allocations: 156.4 kB / 465.2 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.3164, allocations: 207.9 kB / 465.4 MB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004916/0.3213, allocations: 2.736 MB / 468.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.3214, allocations: 7.953 kB / 468.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/0.3216, allocations: 80 kB / 468.3 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3217, allocations: 95.92 kB / 468.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004239/0.3259, allocations: 2.322 MB / 470.7 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.3411, allocations: 8.332 MB / 479 MB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.3434, allocations: 1.706 MB / 480.7 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.3454, allocations: 1.011 MB / 481.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000253/0.3456, allocations: 130 kB / 481.8 MB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3457, allocations: 43.56 kB / 481.9 MB, free: 4.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/0.3457, allocations: 0 / 481.9 MB, free: 4.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01364/0.3593, allocations: 6.244 MB / 488.1 MB, free: 14.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.3594, allocations: 64.41 kB / 488.2 MB, free: 14.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.3618, allocations: 1.525 MB / 489.7 MB, free: 12.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.362, allocations: 45.7 kB / 489.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/0.3628, allocations: 1.013 MB / 490.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.3632, allocations: 444.3 kB / 491.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000422/0.3637, allocations: 251.5 kB / 491.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.3638, allocations: 361.9 kB / 491.8 MB, free: 10.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.365, allocations: 0.73 MB / 492.5 MB, free: 9.934 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.3665, allocations: 1.055 MB / 493.6 MB, free: 8.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.3692, allocations: 1.883 MB / 495.5 MB, free: 6.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3692, allocations: 0 / 495.5 MB, free: 6.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004246/0.3734, allocations: 2.354 MB / 497.8 MB, free: 4.359 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3735, allocations: 10.81 kB / 497.8 MB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.3735, allocations: 8.344 kB / 497.9 MB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.3745, allocations: 407.1 kB / 498.3 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.3758, allocations: 339.5 kB / 498.6 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.3814, allocations: 5.058 MB / 0.4918 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.3828, allocations: 95.86 kB / 0.4919 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.3829, allocations: 59.98 kB / 0.492 GB, free: 14.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001334/0.3843, allocations: 0.7042 MB / 0.4927 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/0.3847, allocations: 174.9 kB / 0.4928 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.3884, allocations: 2.141 MB / 0.4949 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.3884, allocations: 12 kB / 0.4949 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.3885, allocations: 4 kB / 0.4949 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.3885, allocations: 3.984 kB / 0.4949 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/0.3967, allocations: 4.558 MB / 0.4994 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3967, allocations: 3.984 kB / 0.4994 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009716/0.3977, allocations: 220 kB / 0.4996 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.399, allocations: 481.6 kB / 0.5001 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.3991, allocations: 31.97 kB / 0.5001 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007082/0.4061, allocations: 6.692 MB / 0.5066 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4061, allocations: 4.031 kB / 0.5066 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0053/0.4114, allocations: 3.173 MB / 0.5097 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.4126, allocations: 411.9 kB / 0.5101 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002824/0.4129, allocations: 28 kB / 0.5102 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/0.4137, allocations: 79.91 kB / 0.5102 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.414, allocations: 104.8 kB / 0.5103 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.4141, allocations: 39.92 kB / 0.5104 GB, free: 10.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.4157, allocations: 1.056 MB / 0.5114 GB, free: 9.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4157, allocations: 0 / 0.5114 GB, free: 9.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00155/0.4173, allocations: 467.9 kB / 0.5119 GB, free: 9.121 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003955/0.4177, allocations: 186.9 kB / 0.512 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003841/0.4215, allocations: 2.204 MB / 0.5142 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4215, allocations: 0 / 0.5142 GB, free: 6.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.4239, allocations: 1.437 MB / 0.5156 GB, free: 5.164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.4261, allocations: 443.8 kB / 0.516 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/0.4339, allocations: 4.605 MB / 0.5205 GB, free: 56 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.4357, allocations: 1.803 MB / 0.5223 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.4363, allocations: 123.4 kB / 0.5224 GB, free: 14.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4363, allocations: 0 / 0.5224 GB, free: 14.1 MB / 446.1 MB Notification: Performance of Templates: time 0.2663/0.7026, allocations: 70.68 MB / 0.5914 GB, free: 54.26 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.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: 12.600069887936115]