Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 109.2 kB / 17.17 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002283/0.002284, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.963/1.963, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 51.09 kB / 300.6 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1624, allocations: 49.45 MB / 350.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01761/0.18, allocations: 8.847 MB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009177/0.1893, allocations: 2.855 MB / 361.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.1917, allocations: 43.81 kB / 361.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003124/0.1949, allocations: 0.5244 MB / 362.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.199, allocations: 0.6606 MB / 363 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.2006, allocations: 287.7 kB / 363.3 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006157/0.2068, allocations: 2.732 MB / 366 MB, free: 4.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003307/0.2102, allocations: 1.449 MB / 367.5 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.2128, allocations: 0.9261 MB / 368.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.2163, allocations: 1.292 MB / 369.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.2177, allocations: 172 kB / 369.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.2199, allocations: 271.8 kB / 370.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.2214, allocations: 0.6932 MB / 370.8 MB, free: 8 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2852/0.5067, allocations: 1.142 MB / 371.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008612/0.5153, allocations: 3.032 MB / 375 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.5154, allocations: 0.5312 kB / 375 MB, free: 13.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5154, allocations: 0 / 375 MB, free: 13.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002119/0.5156, allocations: 0.5 kB / 375 MB, free: 13.35 MB / 302.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.01574/0.5314, allocations: 2.582 MB / 377.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001067/0.5315, allocations: 14.16 kB / 377.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.5342, allocations: 258.2 kB / 377.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005834/0.54, allocations: 1.35 MB / 379.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002951/0.5404, allocations: 136.1 kB / 379.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001184/0.5416, allocations: 187.7 kB / 379.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009976/0.5516, allocations: 2.408 MB / 381.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.884e-05/0.5518, allocations: 3.406 kB / 381.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003241/0.5521, allocations: 71.94 kB / 382 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001862/0.5523, allocations: 86.25 kB / 382.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007663/0.56, allocations: 2.019 MB / 384.1 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.5849, allocations: 7.47 MB / 391.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.5878, allocations: 1.27 MB / 392.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/0.5905, allocations: 0.8951 MB / 393.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/0.5909, allocations: 131.7 kB / 393.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.5909, allocations: 42.78 kB / 393.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=84): time 6.061e-06/0.591, allocations: 0 / 393.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=100): time 0.01597/0.6069, allocations: 4.884 MB / 398.8 MB, free: 1.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.6071, allocations: 68.12 kB / 398.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.6107, allocations: 1.369 MB / 400.2 MB, free: 0.793 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.6109, allocations: 41.02 kB / 400.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008476/0.6118, allocations: 0.8977 MB / 401.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000702/0.6125, allocations: 353.2 kB / 401.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006395/0.6132, allocations: 217.7 kB / 401.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.6134, allocations: 351.5 kB / 402 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.6153, allocations: 0.6346 MB / 402.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.6175, allocations: 0.9265 MB / 403.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004195/0.6217, allocations: 1.653 MB / 405.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.6218, allocations: 0 / 405.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.008318/0.6301, allocations: 2.393 MB / 407.6 MB, free: 9.754 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.6302, allocations: 8 kB / 407.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/0.6303, allocations: 13.66 kB / 407.7 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003531/0.6338, allocations: 0.7082 MB / 408.4 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.6357, allocations: 241.6 kB / 408.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.6546, allocations: 8.007 MB / 416.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002731/0.6574, allocations: 80.03 kB / 416.7 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.6578, allocations: 48 kB / 416.7 MB, free: 440 kB / 318.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.002617/0.6604, allocations: 0.6304 MB / 417.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007657/0.6612, allocations: 146.2 kB / 417.5 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00618/0.6674, allocations: 1.898 MB / 419.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/0.6675, allocations: 12 kB / 419.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.6675, allocations: 5.5 kB / 419.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.6675, allocations: 7.922 kB / 419.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.6809, allocations: 4.004 MB / 423.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.681, allocations: 4 kB / 423.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.6826, allocations: 191.6 kB / 423.6 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/0.6849, allocations: 460 kB / 424.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/0.6852, allocations: 27.98 kB / 424.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/0.6962, allocations: 6.136 MB / 430.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.699e-06/0.6962, allocations: 4.688 kB / 430.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008448/0.7047, allocations: 2.776 MB / 433 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/0.7066, allocations: 366 kB / 433.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000708/0.7073, allocations: 23.94 kB / 433.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/0.7092, allocations: 63.92 kB / 433.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/0.7098, allocations: 84.88 kB / 433.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/0.71, allocations: 27.98 kB / 433.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003615/0.7136, allocations: 0.9543 MB / 434.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.378e-06/0.7137, allocations: 3.938 kB / 434.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004472/0.7181, allocations: 446.9 kB / 435 MB, free: 13.72 MB / 350.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.0007741/0.719, allocations: 175.9 kB / 435.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005857/0.7248, allocations: 1.996 MB / 437.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.88e-05/0.7249, allocations: 4.562 kB / 437.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00348/0.7284, allocations: 1.342 MB / 438.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/0.7323, allocations: 358.7 kB / 438.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.7448, allocations: 4.881 MB / 443.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.7472, allocations: 1.673 MB / 445.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009345/0.7482, allocations: 107.4 kB / 445.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7482, allocations: 0 / 445.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of Templates: time 0.08149/0.8297, allocations: 52.58 MB / 498.1 MB, free: 14.58 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches