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_Initialize.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.0019/0.0019, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002197/0.002197, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.465/1.465, allocations: 230.4 MB / 258.1 MB, free: 8.137 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_Initialize,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_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,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_Initialize") [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.002018/0.002018, allocations: 67.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.243, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01156/0.2546, allocations: 9.029 MB / 441.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005752/0.2603, allocations: 2.972 MB / 444.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008214/0.2611, allocations: 39.88 kB / 444.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.2627, allocations: 0.6484 MB / 444.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.2646, allocations: 0.7691 MB / 445.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.2653, allocations: 339.5 kB / 445.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.268, allocations: 2.37 MB / 448.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.2694, allocations: 1.024 MB / 449.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.2709, allocations: 1.082 MB / 450.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.2729, allocations: 1.374 MB / 451.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004092/0.2733, allocations: 280 kB / 452 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007714/0.2741, allocations: 387.8 kB / 452.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008734/0.275, allocations: 0.8102 MB / 453.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.2764, allocations: 1.264 MB / 454.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.2806, allocations: 3.713 MB / 458.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2807, allocations: 3.984 kB / 458.1 MB, free: 13.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2807, allocations: 4 kB / 458.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.088e-05/0.2807, allocations: 0 / 458.1 MB, free: 13.14 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00518/0.2859, allocations: 2.647 MB / 460.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2859, allocations: 8.031 kB / 460.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009297/0.2868, allocations: 307.3 kB / 461.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.2894, allocations: 1.413 MB / 462.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.2895, allocations: 139.9 kB / 462.6 MB, free: 8.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002886/0.2898, allocations: 183.9 kB / 462.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/0.2938, allocations: 2.413 MB / 465.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.2938, allocations: 0 / 465.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.294, allocations: 72 kB / 465.3 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.2941, allocations: 87.48 kB / 465.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.2976, allocations: 2.02 MB / 467.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.3097, allocations: 7.396 MB / 474.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.3116, allocations: 1.215 MB / 476 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.3133, allocations: 0.8617 MB / 476.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/0.3136, allocations: 118.1 kB / 477 MB, free: 9.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.3136, allocations: 43.56 kB / 477 MB, free: 9.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.455e-06/0.3136, allocations: 0 / 477 MB, free: 9.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009308/0.3229, allocations: 4.921 MB / 482 MB, free: 4.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.323, allocations: 64.39 kB / 482 MB, free: 4.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.3249, allocations: 1.389 MB / 483.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/0.325, allocations: 45.69 kB / 483.5 MB, free: 3.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007628/0.3258, allocations: 0.9227 MB / 484.4 MB, free: 2.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.3261, allocations: 372.8 kB / 484.8 MB, free: 1.938 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.3264, allocations: 214.9 kB / 485 MB, free: 1.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3266, allocations: 357.9 kB / 485.3 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.3277, allocations: 0.6311 MB / 485.9 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/0.329, allocations: 0.9298 MB / 486.9 MB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.3315, allocations: 1.645 MB / 488.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3315, allocations: 4 kB / 488.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00449/0.3359, allocations: 2.379 MB / 490.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.336, allocations: 8 kB / 490.9 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.336, allocations: 8 kB / 490.9 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00184/0.3378, allocations: 0.7165 MB / 491.6 MB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.3387, allocations: 235.7 kB / 491.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.3506, allocations: 8.737 MB / 0.4889 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.3518, allocations: 83.81 kB / 0.4889 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.3518, allocations: 48.11 kB / 0.489 GB, free: 1.406 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001073/0.3529, allocations: 0.6301 MB / 0.4896 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/0.3532, allocations: 151.1 kB / 0.4898 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/0.3566, allocations: 1.89 MB / 0.4916 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3566, allocations: 12 kB / 0.4916 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3566, allocations: 128 / 0.4916 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.3567, allocations: 11.97 kB / 0.4916 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007157/0.3638, allocations: 4.001 MB / 0.4955 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.3638, allocations: 0 / 0.4955 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.3646, allocations: 188 kB / 0.4957 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.3658, allocations: 462.9 kB / 0.4961 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/0.3659, allocations: 23.98 kB / 0.4962 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007205/0.3731, allocations: 6.693 MB / 0.5027 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/0.3731, allocations: 7.922 kB / 0.5027 GB, free: 2.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.3778, allocations: 2.776 MB / 0.5054 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008308/0.3786, allocations: 368 kB / 0.5058 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.3788, allocations: 23.98 kB / 0.5058 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.3796, allocations: 71.92 kB / 0.5059 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001992/0.3798, allocations: 76.89 kB / 0.5059 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.3799, allocations: 31.98 kB / 0.506 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001483/0.3814, allocations: 0.9663 MB / 0.5069 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 0.5069 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00133/0.3827, allocations: 435.9 kB / 0.5073 GB, free: 13.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0003346/0.383, allocations: 179 kB / 0.5075 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003488/0.3865, allocations: 1.945 MB / 0.5094 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3865, allocations: 7.938 kB / 0.5094 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002117/0.3886, allocations: 1.302 MB / 0.5107 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.3904, allocations: 395.9 kB / 0.5111 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006671/0.397, allocations: 4.093 MB / 0.5151 GB, free: 5.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.3987, allocations: 1.696 MB / 0.5167 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008802/0.3995, allocations: 320 kB / 0.517 GB, free: 3.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.3998, allocations: 99.42 kB / 0.5171 GB, free: 3.789 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3998, allocations: 0 / 0.5171 GB, free: 3.789 MB / 430.1 MB Notification: Performance of Templates: time 0.2429/0.6427, allocations: 25.17 MB / 0.5417 GB, free: 102.1 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.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: 5.978068191092461]