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.001451/0.001451, allocations: 116.1 kB / 17.06 MB, free: 6 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.001659/0.001659, allocations: 194.9 kB / 18 MB, free: 5.078 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.349/1.349, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009842/0.0009842, allocations: 51.92 kB / 351.3 MB, free: 3.203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2468, allocations: 49.42 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.01003/0.2569, allocations: 8.905 MB / 409.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.2623, allocations: 2.864 MB / 412.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.2634, allocations: 43.81 kB / 412.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2653, allocations: 0.6368 MB / 413.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.2678, allocations: 0.7574 MB / 413.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.2686, allocations: 319.5 kB / 414.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002595/0.2712, allocations: 2.37 MB / 416.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.2731, allocations: 1.762 MB / 418.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.2744, allocations: 1.067 MB / 419.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2759, allocations: 1.347 MB / 420.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003569/0.2763, allocations: 284 kB / 421.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/0.2769, allocations: 363.8 kB / 421.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.2777, allocations: 0.8025 MB / 422.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.2788, allocations: 1.26 MB / 423.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003099/0.282, allocations: 3.672 MB / 427.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.282, allocations: 7.938 kB / 427.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.282, allocations: 0 / 427.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.995e-05/0.282, allocations: 0 / 427.2 MB, free: 14.28 MB / 350.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.00451/0.2865, allocations: 2.583 MB / 429.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.2866, allocations: 8.031 kB / 429.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006359/0.2872, allocations: 258.1 kB / 430 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.2893, allocations: 1.385 MB / 431.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.469e-05/0.2894, allocations: 135.9 kB / 431.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.2897, allocations: 188 kB / 431.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/0.2935, allocations: 2.41 MB / 434.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.167e-05/0.2936, allocations: 8 kB / 434.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.2937, allocations: 75.98 kB / 434.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.403e-05/0.2938, allocations: 79.5 kB / 434.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.2972, allocations: 2.02 MB / 436.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.3079, allocations: 7.37 MB / 443.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.3098, allocations: 1.273 MB / 444.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.3115, allocations: 0.9197 MB / 445.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.3117, allocations: 122.1 kB / 446 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3118, allocations: 39.56 kB / 446 MB, free: 10.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.066e-06/0.3118, allocations: 0 / 446 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.009009/0.3208, allocations: 4.896 MB / 450.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3208, allocations: 64.41 kB / 451 MB, free: 5.891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002029/0.3229, allocations: 1.372 MB / 452.4 MB, free: 4.512 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/0.323, allocations: 41.7 kB / 452.4 MB, free: 4.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006542/0.3237, allocations: 0.9008 MB / 453.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/0.3239, allocations: 350.9 kB / 453.6 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.3243, allocations: 222.8 kB / 453.9 MB, free: 2.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3245, allocations: 349.9 kB / 454.2 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009884/0.3255, allocations: 0.6272 MB / 454.8 MB, free: 2.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.3267, allocations: 0.9259 MB / 455.7 MB, free: 0.957 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.3289, allocations: 1.645 MB / 457.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.3289, allocations: 4 kB / 457.4 MB, free: 15.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004105/0.3331, allocations: 2.39 MB / 459.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3331, allocations: 12 kB / 459.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3331, allocations: 11.94 kB / 459.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.335, allocations: 0.7123 MB / 460.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008829/0.3358, allocations: 239.6 kB / 460.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.3465, allocations: 8.726 MB / 469.5 MB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.3476, allocations: 79.86 kB / 469.6 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.565e-05/0.3477, allocations: 52.11 kB / 469.6 MB, free: 2.664 MB / 382.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.001031/0.3488, allocations: 0.6262 MB / 470.2 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.349, allocations: 142.2 kB / 470.4 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003289/0.3523, allocations: 1.897 MB / 472.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.3524, allocations: 12 kB / 472.3 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3524, allocations: 0 / 472.3 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3524, allocations: 7.984 kB / 472.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006432/0.3588, allocations: 4 MB / 476.3 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3589, allocations: 0 / 476.3 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008334/0.3597, allocations: 192.1 kB / 476.5 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.3609, allocations: 470.5 kB / 476.9 MB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.466e-05/0.361, allocations: 27.98 kB / 477 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006275/0.3673, allocations: 6.684 MB / 483.7 MB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3673, allocations: 0 / 483.7 MB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.3717, allocations: 2.787 MB / 486.4 MB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006722/0.3724, allocations: 351.3 kB / 486.8 MB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/0.3726, allocations: 24 kB / 486.8 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007962/0.3734, allocations: 79.91 kB / 486.9 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.3736, allocations: 76.89 kB / 487 MB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.3737, allocations: 27.98 kB / 487 MB, free: 0.6641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001359/0.3751, allocations: 0.9543 MB / 487.9 MB, free: 15.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3751, allocations: 4 kB / 487.9 MB, free: 15.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001319/0.3764, allocations: 431.9 kB / 488.4 MB, free: 15.28 MB / 414.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.0003352/0.3768, allocations: 184.6 kB / 488.5 MB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003304/0.3801, allocations: 2.003 MB / 490.5 MB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3801, allocations: 1.875 kB / 490.6 MB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/0.3821, allocations: 1.347 MB / 491.9 MB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.3838, allocations: 384.6 kB / 492.3 MB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006226/0.39, allocations: 4.007 MB / 496.3 MB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.3913, allocations: 1.689 MB / 498 MB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008353/0.3922, allocations: 316 kB / 498.3 MB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.3925, allocations: 99.36 kB / 498.4 MB, free: 5.094 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3925, allocations: 0 / 498.4 MB, free: 5.094 MB / 414.1 MB Notification: Performance of Templates: time 0.0399/0.4324, allocations: 24.4 MB / 0.5105 GB, free: 12.91 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins/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