Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001164/0.001165, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001406/0.001406, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.377/1.377, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2362, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize): time 0.009405/0.2456, allocations: 8.933 MB / 418.9 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005405/0.2511, allocations: 2.956 MB / 421.8 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.2523, allocations: 47.81 kB / 421.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.2542, allocations: 0.6056 MB / 422.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.2565, allocations: 0.73 MB / 423.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.2575, allocations: 331.5 kB / 423.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003083/0.2606, allocations: 2.373 MB / 425.9 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.2629, allocations: 1.766 MB / 427.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.2644, allocations: 1.071 MB / 428.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.2665, allocations: 1.354 MB / 430.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006357/0.2671, allocations: 276 kB / 430.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.2682, allocations: 379.8 kB / 430.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009841/0.2692, allocations: 0.8025 MB / 431.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.271, allocations: 1.268 MB / 432.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003866/0.2749, allocations: 3.697 MB / 436.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.275, allocations: 0 / 436.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.275, allocations: 0 / 436.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.37e-05/0.2751, allocations: 0 / 436.5 MB, free: 6.84 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.005512/0.2806, allocations: 2.594 MB / 439.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.2806, allocations: 8.031 kB / 439.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.2817, allocations: 298 kB / 439.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.2841, allocations: 1.405 MB / 440.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.963e-05/0.2842, allocations: 140 kB / 440.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.2845, allocations: 187.8 kB / 441.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.2884, allocations: 2.41 MB / 443.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.2885, allocations: 7.906 kB / 443.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.2887, allocations: 72 kB / 443.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.914e-05/0.2888, allocations: 87.48 kB / 443.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/0.2922, allocations: 2.016 MB / 445.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.3032, allocations: 7.374 MB / 453.1 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.305, allocations: 1.265 MB / 454.4 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.3066, allocations: 0.9081 MB / 455.3 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/0.3069, allocations: 126.1 kB / 455.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.3069, allocations: 39.56 kB / 455.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/0.3069, allocations: 0 / 455.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.008951/0.3159, allocations: 4.898 MB / 460.3 MB, free: 14.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.316, allocations: 68.41 kB / 460.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.3179, allocations: 1.393 MB / 461.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.3181, allocations: 41.7 kB / 461.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.3187, allocations: 0.9008 MB / 462.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.3189, allocations: 354.9 kB / 463.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003331/0.3193, allocations: 218.8 kB / 463.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3194, allocations: 353.9 kB / 463.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009694/0.3204, allocations: 0.6311 MB / 464.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.3215, allocations: 0.9336 MB / 465.2 MB, free: 9.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.3236, allocations: 1.645 MB / 466.8 MB, free: 7.645 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.3236, allocations: 0 / 466.8 MB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004042/0.3277, allocations: 2.39 MB / 469.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.3277, allocations: 11.12 kB / 469.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.3278, allocations: 11.94 kB / 469.2 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/0.3295, allocations: 0.7129 MB / 470 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008358/0.3303, allocations: 235.7 kB / 470.2 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/0.3406, allocations: 8.737 MB / 478.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3419, allocations: 79.81 kB / 479 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.3421, allocations: 48.12 kB / 479.1 MB, free: 11.12 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.001074/0.3431, allocations: 0.6419 MB / 479.7 MB, free: 10.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.3435, allocations: 142.2 kB / 479.8 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.3467, allocations: 1.894 MB / 481.7 MB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3467, allocations: 12 kB / 481.7 MB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.3467, allocations: 0 / 481.7 MB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.3468, allocations: 11.92 kB / 481.8 MB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0072/0.354, allocations: 3.997 MB / 485.7 MB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.354, allocations: 4 kB / 485.8 MB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.3549, allocations: 175.8 kB / 485.9 MB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001273/0.3562, allocations: 479 kB / 486.4 MB, free: 3.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/0.3563, allocations: 23.98 kB / 486.4 MB, free: 3.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006389/0.3627, allocations: 6.691 MB / 493.1 MB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.3627, allocations: 7.938 kB / 493.1 MB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/0.3672, allocations: 2.779 MB / 495.9 MB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007857/0.368, allocations: 355.3 kB / 496.2 MB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.3684, allocations: 24 kB / 496.3 MB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009233/0.3693, allocations: 63.92 kB / 496.3 MB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.3696, allocations: 84.88 kB / 496.4 MB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.3697, allocations: 27.98 kB / 496.4 MB, free: 9.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.3713, allocations: 0.9663 MB / 497.4 MB, free: 8.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3713, allocations: 0 / 497.4 MB, free: 8.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001685/0.373, allocations: 432 kB / 497.8 MB, free: 7.715 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.000421/0.3734, allocations: 183 kB / 498 MB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.3769, allocations: 2.012 MB / 0.4883 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.3769, allocations: 0 / 0.4883 GB, free: 5.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.379, allocations: 1.336 MB / 0.4896 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.3812, allocations: 394 kB / 0.49 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/0.388, allocations: 4.056 MB / 0.4939 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.3896, allocations: 1.681 MB / 0.4956 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.3901, allocations: 99.42 kB / 0.4957 GB, free: 13.79 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3901, allocations: 0 / 0.4957 GB, free: 13.79 MB / 430.1 MB Notification: Performance of Templates: time 0.2438/0.6339, allocations: 53.1 MB / 0.5475 GB, free: 127.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches