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.001292/0.001292, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001381/0.001381, allocations: 210.9 kB / 24.47 MB, free: 3.996 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.401/1.401, 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_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.001915/0.001915, allocations: 71.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2515, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01208/0.2636, allocations: 9.041 MB / 441.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006797/0.2704, allocations: 2.964 MB / 444.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.2718, allocations: 39.88 kB / 444.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.274, allocations: 0.6445 MB / 444.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.2772, allocations: 0.773 MB / 445.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.2784, allocations: 335.4 kB / 445.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004277/0.2827, allocations: 2.38 MB / 448.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.2849, allocations: 1.02 MB / 449.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.287, allocations: 1.075 MB / 450.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002887/0.2899, allocations: 1.382 MB / 451.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008457/0.2908, allocations: 287.9 kB / 452 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.292, allocations: 379.9 kB / 452.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.2931, allocations: 0.8141 MB / 453.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.2952, allocations: 1.268 MB / 454.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.3, allocations: 3.709 MB / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3, allocations: 0 / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3, allocations: 0 / 458.1 MB, free: 13.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.3001, allocations: 0 / 458.1 MB, free: 13.16 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.005926/0.3061, allocations: 2.655 MB / 460.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3061, allocations: 8.031 kB / 460.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009585/0.3071, allocations: 303.3 kB / 461.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.3099, allocations: 1.421 MB / 462.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.31, allocations: 136 kB / 462.7 MB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003229/0.3103, allocations: 187.9 kB / 462.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/0.3146, allocations: 2.413 MB / 465.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.3146, allocations: 0 / 465.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.3148, allocations: 79.92 kB / 465.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.956e-05/0.3149, allocations: 83.5 kB / 465.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/0.3186, allocations: 2.016 MB / 467.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.332, allocations: 7.396 MB / 474.8 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.334, allocations: 1.211 MB / 476 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/0.3357, allocations: 0.8539 MB / 476.9 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.336, allocations: 134 kB / 477 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/0.336, allocations: 43.5 kB / 477.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.446e-06/0.336, allocations: 0 / 477.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01018/0.3462, allocations: 4.921 MB / 482 MB, free: 4.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3463, allocations: 60.41 kB / 482 MB, free: 4.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.3486, allocations: 1.389 MB / 483.4 MB, free: 3.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.3488, allocations: 41.7 kB / 483.5 MB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007725/0.3495, allocations: 0.9305 MB / 484.4 MB, free: 2.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000362/0.3499, allocations: 364.9 kB / 484.8 MB, free: 1.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.3503, allocations: 210.9 kB / 485 MB, free: 1.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.3504, allocations: 353.9 kB / 485.3 MB, free: 1.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3515, allocations: 0.635 MB / 485.9 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.3528, allocations: 0.9259 MB / 486.9 MB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.3552, allocations: 1.645 MB / 488.5 MB, free: 13.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.3552, allocations: 4 kB / 488.5 MB, free: 13.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004649/0.3599, allocations: 2.379 MB / 490.9 MB, free: 11.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.3599, allocations: 8 kB / 490.9 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.3599, allocations: 12 kB / 490.9 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/0.3618, allocations: 0.7126 MB / 491.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009337/0.3628, allocations: 247.5 kB / 491.9 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.3745, allocations: 8.733 MB / 0.4889 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3757, allocations: 83.8 kB / 0.489 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.3758, allocations: 48 kB / 0.489 GB, free: 1.41 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.001083/0.3769, allocations: 0.638 MB / 0.4896 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.3772, allocations: 147.1 kB / 0.4898 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/0.3806, allocations: 1.89 MB / 0.4916 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3806, allocations: 8 kB / 0.4916 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3806, allocations: 4 kB / 0.4916 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.3806, allocations: 7.922 kB / 0.4916 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007309/0.3879, allocations: 4.001 MB / 0.4955 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3879, allocations: 128 / 0.4955 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008039/0.3887, allocations: 187.7 kB / 0.4957 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.39, allocations: 463.2 kB / 0.4962 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/0.3901, allocations: 31.97 kB / 0.4962 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007294/0.3974, allocations: 6.681 MB / 0.5027 GB, free: 2.801 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3974, allocations: 3.938 kB / 0.5027 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004742/0.4021, allocations: 2.78 MB / 0.5054 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009573/0.4031, allocations: 368 kB / 0.5058 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.4033, allocations: 24 kB / 0.5058 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007778/0.4041, allocations: 75.92 kB / 0.5059 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.4043, allocations: 72.88 kB / 0.5059 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.246e-05/0.4044, allocations: 28 kB / 0.506 GB, free: 15.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.4059, allocations: 0.9702 MB / 0.5069 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4059, allocations: 0 / 0.5069 GB, free: 14.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00162/0.4075, allocations: 435.9 kB / 0.5073 GB, free: 13.99 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.0004155/0.4079, allocations: 187.1 kB / 0.5075 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00368/0.4116, allocations: 1.942 MB / 0.5094 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.495e-06/0.4116, allocations: 4 kB / 0.5094 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.4139, allocations: 1.305 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.002016/0.4159, allocations: 391.8 kB / 0.5111 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007449/0.4233, allocations: 4.135 MB / 0.5151 GB, free: 5.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.4249, allocations: 1.673 MB / 0.5167 GB, free: 4.191 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.4254, allocations: 103.4 kB / 0.5168 GB, free: 4.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.754e-06/0.4254, allocations: 0 / 0.5168 GB, free: 4.09 MB / 430.1 MB Notification: Performance of Templates: time 0.2479/0.6733, allocations: 53.27 MB / 0.5689 GB, free: 79.14 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/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: 11.487087341025472]