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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 230.4 MB / 251.1 MB, free: 8.469 MB / 206.1 MB 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.001987/0.001987, allocations: 63.84 kB / 369 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2767, allocations: 53.32 MB / 422.3 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01293/0.2897, allocations: 8.988 MB / 431.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0062/0.2959, allocations: 2.96 MB / 434.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.297, allocations: 43.81 kB / 434.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.2989, allocations: 0.6402 MB / 434.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.3019, allocations: 0.7729 MB / 435.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009917/0.3029, allocations: 339.4 kB / 436 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00338/0.3063, allocations: 2.38 MB / 438.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.3082, allocations: 1.286 MB / 439.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.3098, allocations: 1.075 MB / 440.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.3119, allocations: 1.386 MB / 442.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004121/0.3123, allocations: 280 kB / 442.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007636/0.3131, allocations: 387.8 kB / 442.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008685/0.314, allocations: 0.8102 MB / 443.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.3153, allocations: 1.264 MB / 444.9 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.3193, allocations: 3.706 MB / 448.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3193, allocations: 4 kB / 448.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3193, allocations: 0 / 448.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.609e-05/0.3194, allocations: 0 / 448.6 MB, free: 13.37 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.004892/0.3243, allocations: 2.658 MB / 451.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3243, allocations: 8.031 kB / 451.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009818/0.3253, allocations: 307.3 kB / 451.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.3277, allocations: 1.417 MB / 453 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.3279, allocations: 132 kB / 453.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.3282, allocations: 199.9 kB / 453.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/0.3324, allocations: 2.402 MB / 455.7 MB, free: 6.105 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.3324, allocations: 8 kB / 455.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002008/0.3326, allocations: 72 kB / 455.8 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.3328, allocations: 87.5 kB / 455.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.3365, allocations: 2.012 MB / 457.9 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.3487, allocations: 7.396 MB / 465.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.3508, allocations: 1.218 MB / 466.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.3526, allocations: 0.8534 MB / 467.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.3529, allocations: 122.1 kB / 467.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.3529, allocations: 43.56 kB / 467.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 3.316e-06/0.3529, allocations: 0 / 467.5 MB, free: 9.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009731/0.3626, allocations: 4.926 MB / 472.4 MB, free: 4.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.3627, allocations: 64.41 kB / 472.5 MB, free: 4.898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/0.3648, allocations: 1.389 MB / 473.9 MB, free: 3.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.024e-05/0.3649, allocations: 45.7 kB / 473.9 MB, free: 3.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007527/0.3657, allocations: 0.9188 MB / 474.8 MB, free: 2.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.366, allocations: 368.9 kB / 475.2 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.3664, allocations: 218.9 kB / 475.4 MB, free: 1.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3665, allocations: 345.9 kB / 475.7 MB, free: 1.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.3676, allocations: 0.635 MB / 476.4 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.369, allocations: 0.9219 MB / 477.3 MB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.3715, allocations: 1.66 MB / 479 MB, free: 14.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3715, allocations: 0 / 479 MB, free: 14.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004435/0.3759, allocations: 2.376 MB / 481.3 MB, free: 11.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.376, allocations: 15.98 kB / 481.4 MB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.376, allocations: 8 kB / 481.4 MB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.3779, allocations: 0.7162 MB / 482.1 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.3788, allocations: 231.6 kB / 482.3 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.3905, allocations: 8.738 MB / 491 MB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.3917, allocations: 91.78 kB / 491.1 MB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.3918, allocations: 48 kB / 491.2 MB, free: 1.605 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.001125/0.3929, allocations: 0.6262 MB / 491.8 MB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.3932, allocations: 151.1 kB / 491.9 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/0.3967, allocations: 1.897 MB / 493.8 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.3967, allocations: 8 kB / 493.9 MB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3967, allocations: 4 kB / 493.9 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3967, allocations: 3.984 kB / 493.9 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006938/0.4037, allocations: 3.997 MB / 497.9 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.4037, allocations: 4 kB / 497.9 MB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008252/0.4045, allocations: 179.9 kB / 498 MB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001252/0.4058, allocations: 458.5 kB / 498.5 MB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/0.4058, allocations: 35.98 kB / 498.5 MB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007369/0.4132, allocations: 6.685 MB / 0.4934 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.4132, allocations: 11.91 kB / 0.4934 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0047/0.4179, allocations: 2.769 MB / 0.4961 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/0.4188, allocations: 368.2 kB / 0.4964 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.419, allocations: 31.92 kB / 0.4965 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.4198, allocations: 67.92 kB / 0.4965 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.4201, allocations: 88.81 kB / 0.4966 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-05/0.4201, allocations: 24 kB / 0.4966 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001792/0.4219, allocations: 0.9661 MB / 0.4976 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4219, allocations: 0 / 0.4976 GB, free: 14.62 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001758/0.4237, allocations: 439.9 kB / 0.498 GB, free: 14.19 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.0004199/0.4241, allocations: 186.7 kB / 0.4982 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003707/0.4278, allocations: 1.938 MB / 0.5001 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4278, allocations: 4.062 kB / 0.5001 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.43, allocations: 1.304 MB / 0.5013 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.4318, allocations: 387.1 kB / 0.5017 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.4388, allocations: 4.106 MB / 0.5057 GB, free: 6.137 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/0.4404, allocations: 1.693 MB / 0.5074 GB, free: 4.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009443/0.4414, allocations: 316 kB / 0.5077 GB, free: 4.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.4416, allocations: 91.42 kB / 0.5078 GB, free: 4.004 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4416, allocations: 0 / 0.5078 GB, free: 4.004 MB / 430.1 MB Notification: Performance of Templates: time 0.049/0.4906, allocations: 25.01 MB / 0.5322 GB, free: 11.22 MB / 462.1 MB 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] Reference file matches