Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001046/0.001046, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.334/1.334, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009769/0.0009768, allocations: 51.27 kB / 300 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09489, allocations: 49.44 MB / 349.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01092/0.1058, allocations: 9.318 MB / 358.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00605/0.1119, allocations: 2.96 MB / 361.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.1135, allocations: 43.81 kB / 361.7 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.1156, allocations: 0.5438 MB / 362.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002706/0.1184, allocations: 0.715 MB / 363 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1194, allocations: 307.7 kB / 363.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.1232, allocations: 3.075 MB / 366.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002656/0.1259, allocations: 1.818 MB / 368.2 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.1277, allocations: 1.027 MB / 369.2 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1837/0.3114, allocations: 1.436 MB / 370.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.3127, allocations: 188.3 kB / 370.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001569/0.3143, allocations: 287.9 kB / 371.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.3159, allocations: 0.7595 MB / 371.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003128/0.319, allocations: 1.275 MB / 373.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005993/0.325, allocations: 3.933 MB / 377.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3251, allocations: 9.75 kB / 377.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3251, allocations: 1.375 kB / 377.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001706/0.3253, allocations: 1.25 kB / 377.1 MB, free: 11.55 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007867/0.3331, allocations: 2.842 MB / 379.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3332, allocations: 12.14 kB / 379.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.3341, allocations: 293 kB / 380.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.3364, allocations: 1.484 MB / 381.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.3365, allocations: 150.9 kB / 381.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.3368, allocations: 208.5 kB / 382.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004829/0.3416, allocations: 2.739 MB / 384.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.088e-05/0.3417, allocations: 3.438 kB / 384.8 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.3419, allocations: 82.09 kB / 384.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.3421, allocations: 94.77 kB / 385 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00461/0.3467, allocations: 2.328 MB / 387.3 MB, free: 7.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.3587, allocations: 8.421 MB / 395.7 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.3604, allocations: 1.772 MB / 397.5 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.362, allocations: 1.064 MB / 398.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.3622, allocations: 126 kB / 398.7 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3623, allocations: 47.34 kB / 398.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.3623, allocations: 0 / 398.7 MB, free: 15.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01291/0.3752, allocations: 6.196 MB / 404.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.3753, allocations: 64.41 kB / 405 MB, free: 11.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002357/0.3776, allocations: 1.516 MB / 406.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.3777, allocations: 45.7 kB / 406.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.3785, allocations: 0.9824 MB / 407.5 MB, free: 8.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.3789, allocations: 415.9 kB / 407.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004679/0.3794, allocations: 255.4 kB / 408.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3795, allocations: 357.9 kB / 408.5 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.3807, allocations: 0.7339 MB / 409.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.3821, allocations: 1.06 MB / 410.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.3847, allocations: 1.869 MB / 412.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3847, allocations: 4 kB / 412.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004133/0.3889, allocations: 2.356 MB / 414.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.3889, allocations: 12 kB / 414.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.3889, allocations: 8 kB / 414.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.3899, allocations: 411.1 kB / 415 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.3913, allocations: 326.5 kB / 415.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/0.3961, allocations: 4.658 MB / 420 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.3975, allocations: 91.89 kB / 420 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.3976, allocations: 48 kB / 420.1 MB, free: 11.7 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001461/0.3991, allocations: 0.7146 MB / 420.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.3994, allocations: 162 kB / 421 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003695/0.4031, allocations: 2.133 MB / 423.1 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.4032, allocations: 12.75 kB / 423.1 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4032, allocations: 4 kB / 423.1 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4032, allocations: 7.969 kB / 423.1 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008035/0.4112, allocations: 4.596 MB / 427.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4113, allocations: 4 kB / 427.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009961/0.4123, allocations: 216.7 kB / 427.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.4136, allocations: 473.8 kB / 428.4 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/0.4137, allocations: 27.98 kB / 428.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006386/0.4201, allocations: 6.136 MB / 434.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.4201, allocations: 4.031 kB / 434.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.4254, allocations: 3.188 MB / 437.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/0.4264, allocations: 398.9 kB / 438.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/0.4267, allocations: 35.92 kB / 438.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008971/0.4276, allocations: 71.92 kB / 438.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.4279, allocations: 111.6 kB / 438.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.428, allocations: 35.98 kB / 438.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001786/0.4298, allocations: 1.04 MB / 439.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4298, allocations: 0 / 439.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001632/0.4314, allocations: 472.1 kB / 439.9 MB, free: 7.426 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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.0003945/0.4319, allocations: 190.5 kB / 440.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003525/0.4354, allocations: 2.262 MB / 442.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4354, allocations: 0 / 442.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/0.4378, allocations: 1.485 MB / 443.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.4401, allocations: 413 kB / 444.2 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00907/0.4492, allocations: 5.422 MB / 449.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.4513, allocations: 1.822 MB / 451.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001435/0.4528, allocations: 393.5 kB / 451.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.4533, allocations: 115.4 kB / 452 MB, free: 11.21 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4533, allocations: 0 / 452 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Templates: time 0.04238/0.4957, allocations: 24.49 MB / 476.5 MB, free: 3.02 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches