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.001393/0.001393, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001751/0.001751, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.001991/0.001991, allocations: 60.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2362, allocations: 53.38 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01188/0.2481, allocations: 9.03 MB / 441.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005972/0.2541, allocations: 2.972 MB / 444.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.2553, allocations: 55.69 kB / 444.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.2571, allocations: 0.6481 MB / 445.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.2595, allocations: 0.7769 MB / 445.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.2603, allocations: 343.4 kB / 446.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003393/0.2637, allocations: 2.373 MB / 448.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.2654, allocations: 1.024 MB / 449.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.2671, allocations: 1.098 MB / 450.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.2696, allocations: 1.386 MB / 452.1 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005004/0.2701, allocations: 280 kB / 452.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008229/0.2709, allocations: 387.8 kB / 452.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008619/0.2718, allocations: 0.8141 MB / 453.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.2733, allocations: 1.264 MB / 454.9 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004464/0.2778, allocations: 3.709 MB / 458.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2778, allocations: 0 / 458.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2778, allocations: 0 / 458.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.656e-05/0.2779, allocations: 4 kB / 458.6 MB, free: 12.68 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.005533/0.2834, allocations: 2.575 MB / 461.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2835, allocations: 8.031 kB / 461.1 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.2845, allocations: 303.3 kB / 461.4 MB, free: 9.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.2873, allocations: 1.349 MB / 462.8 MB, free: 8.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2875, allocations: 135.9 kB / 462.9 MB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.2878, allocations: 195.9 kB / 463.1 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/0.2921, allocations: 2.41 MB / 465.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.2922, allocations: 7.938 kB / 465.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.2923, allocations: 72 kB / 465.6 MB, free: 5.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.2924, allocations: 83.5 kB / 465.7 MB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.2962, allocations: 2.02 MB / 467.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3092, allocations: 7.249 MB / 475 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.3111, allocations: 0.9924 MB / 475.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/0.3129, allocations: 0.8736 MB / 476.8 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.3131, allocations: 36.97 kB / 476.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.3131, allocations: 43.56 kB / 476.9 MB, free: 9.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.705e-06/0.3131, allocations: 0 / 476.9 MB, free: 9.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01009/0.3232, allocations: 4.701 MB / 481.6 MB, free: 5.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.3233, allocations: 60.41 kB / 481.7 MB, free: 5.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/0.3256, allocations: 1.397 MB / 483.1 MB, free: 3.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.3258, allocations: 45.64 kB / 483.1 MB, free: 3.715 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007459/0.3265, allocations: 0.9111 MB / 484 MB, free: 2.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.3268, allocations: 372.8 kB / 484.4 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.3272, allocations: 214.9 kB / 484.6 MB, free: 2.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002909/0.3275, allocations: 357.9 kB / 484.9 MB, free: 1.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3286, allocations: 0.6311 MB / 485.6 MB, free: 1.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.33, allocations: 0.922 MB / 486.5 MB, free: 184 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/0.3326, allocations: 1.649 MB / 488.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.3326, allocations: 4 kB / 488.1 MB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004829/0.3374, allocations: 2.379 MB / 490.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.3374, allocations: 8 kB / 490.5 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.3374, allocations: 12 kB / 490.5 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001967/0.3394, allocations: 0.7134 MB / 491.3 MB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009625/0.3404, allocations: 239.6 kB / 491.5 MB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.3522, allocations: 8.526 MB / 0.4883 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.3533, allocations: 87.86 kB / 0.4884 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.485e-05/0.3534, allocations: 47.98 kB / 0.4884 GB, free: 2.156 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.001102/0.3545, allocations: 0.638 MB / 0.489 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.3548, allocations: 151.1 kB / 0.4892 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.3584, allocations: 1.893 MB / 0.491 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.3584, allocations: 8 kB / 0.491 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.3584, allocations: 4 kB / 0.4911 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.3584, allocations: 3.984 kB / 0.4911 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007042/0.3654, allocations: 3.972 MB / 0.4949 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3654, allocations: 4 kB / 0.4949 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008197/0.3662, allocations: 180 kB / 0.4951 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.3675, allocations: 462.9 kB / 0.4956 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.3676, allocations: 27.97 kB / 0.4956 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007301/0.3749, allocations: 6.386 MB / 0.5018 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.3749, allocations: 3.938 kB / 0.5018 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004801/0.3797, allocations: 2.772 MB / 0.5045 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007964/0.3805, allocations: 290.9 kB / 0.5048 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.3807, allocations: 24 kB / 0.5048 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007547/0.3814, allocations: 67.92 kB / 0.5049 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.3816, allocations: 84.83 kB / 0.505 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.3817, allocations: 35.86 kB / 0.505 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001607/0.3833, allocations: 0.9626 MB / 0.5059 GB, free: 15.67 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3833, allocations: 4 kB / 0.5059 GB, free: 15.66 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001354/0.3847, allocations: 435.9 kB / 0.5064 GB, free: 15.24 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.0003632/0.385, allocations: 183 kB / 0.5065 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.3886, allocations: 1.945 MB / 0.5084 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3886, allocations: 0 / 0.5084 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.3907, allocations: 1.226 MB / 0.5096 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.3923, allocations: 387.5 kB / 0.51 GB, free: 11.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006816/0.3991, allocations: 4.104 MB / 0.514 GB, free: 7.285 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.4007, allocations: 1.693 MB / 0.5157 GB, free: 5.562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008804/0.4016, allocations: 316 kB / 0.516 GB, free: 5.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.4019, allocations: 99.41 kB / 0.5161 GB, free: 5.152 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4019, allocations: 4 kB / 0.5161 GB, free: 5.148 MB / 430.1 MB Notification: Performance of Templates: time 0.2273/0.6292, allocations: 25.54 MB / 0.541 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.616275614127517]