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.001242/0.001242, allocations: 107 kB / 17.74 MB, free: 5.363 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.001266/0.001266, allocations: 188.5 kB / 18.66 MB, free: 4.449 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 43.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2952, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.0118/0.3071, allocations: 9.385 MB / 410.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006137/0.3132, allocations: 2.969 MB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.3147, allocations: 47.81 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00174/0.3166, allocations: 0.6286 MB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.3192, allocations: 0.7727 MB / 415.2 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009013/0.3201, allocations: 347.5 kB / 415.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.3232, allocations: 2.654 MB / 418.2 MB, free: 8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.3256, allocations: 2.151 MB / 420.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.3274, allocations: 1.195 MB / 421.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.3296, allocations: 1.491 MB / 423 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004463/0.3301, allocations: 308 kB / 423.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008331/0.3309, allocations: 391.8 kB / 423.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008734/0.3318, allocations: 0.8921 MB / 424.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.3335, allocations: 1.404 MB / 426 MB, free: 100 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003819/0.3373, allocations: 4.077 MB / 430.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3373, allocations: 7.875 kB / 430.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3374, allocations: 0 / 430.1 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.422e-05/0.3374, allocations: 0 / 430.1 MB, free: 12 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005386/0.3428, allocations: 2.863 MB / 433 MB, free: 9.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3429, allocations: 12.03 kB / 433 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/0.3436, allocations: 285.7 kB / 433.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.3463, allocations: 1.52 MB / 434.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.3464, allocations: 160.3 kB / 434.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.3468, allocations: 204 kB / 435.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004428/0.3512, allocations: 2.736 MB / 437.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.3513, allocations: 4 kB / 437.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.3515, allocations: 80 kB / 438 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.3517, allocations: 99.92 kB / 438.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004849/0.3565, allocations: 2.33 MB / 440.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/0.3706, allocations: 8.313 MB / 448.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3729, allocations: 1.788 MB / 450.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.3748, allocations: 1.077 MB / 451.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3751, allocations: 122.9 kB / 451.7 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.3751, allocations: 47.55 kB / 451.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 3.486e-06/0.3751, allocations: 0 / 451.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01347/0.3886, allocations: 6.192 MB / 457.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3887, allocations: 64.41 kB / 458 MB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.391, allocations: 1.512 MB / 459.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.3911, allocations: 45.7 kB / 459.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000767/0.3919, allocations: 0.9874 MB / 460.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.3923, allocations: 417.9 kB / 460.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004027/0.3928, allocations: 259.4 kB / 461.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3929, allocations: 361.9 kB / 461.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.3941, allocations: 0.7261 MB / 462.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.3955, allocations: 1.059 MB / 463.3 MB, free: 9.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/0.3981, allocations: 1.879 MB / 465.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3981, allocations: 4 kB / 465.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004203/0.4023, allocations: 2.349 MB / 467.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.4024, allocations: 8.344 kB / 467.6 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.4024, allocations: 12 kB / 467.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/0.4034, allocations: 409.5 kB / 468 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4047, allocations: 335.5 kB / 468.3 MB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.4099, allocations: 5.063 MB / 473.4 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.4115, allocations: 87.84 kB / 473.5 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.4116, allocations: 55.98 kB / 473.5 MB, free: 15.25 MB / 398.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.001393/0.413, allocations: 0.708 MB / 474.2 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.4134, allocations: 166.1 kB / 474.4 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.4172, allocations: 2.141 MB / 476.5 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4172, allocations: 12 kB / 476.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.4172, allocations: 4 kB / 476.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.4172, allocations: 3.984 kB / 476.5 MB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007959/0.4252, allocations: 4.573 MB / 481.1 MB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.4252, allocations: 0 / 481.1 MB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/0.4262, allocations: 220 kB / 481.3 MB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4275, allocations: 466.8 kB / 481.8 MB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.018e-05/0.4276, allocations: 35.98 kB / 481.8 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006795/0.4344, allocations: 6.675 MB / 488.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4344, allocations: 4 kB / 488.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/0.4396, allocations: 3.18 MB / 491.7 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.4407, allocations: 403 kB / 492.1 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/0.441, allocations: 35.97 kB / 492.1 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.4418, allocations: 75.91 kB / 492.2 MB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002745/0.4421, allocations: 100.8 kB / 492.3 MB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.4422, allocations: 43.98 kB / 492.3 MB, free: 11.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001569/0.4438, allocations: 1.044 MB / 493.4 MB, free: 10.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4438, allocations: 0 / 493.4 MB, free: 10.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001463/0.4452, allocations: 467.9 kB / 493.8 MB, free: 10.29 MB / 414.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.0003966/0.4456, allocations: 186.6 kB / 494 MB, free: 10.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003581/0.4492, allocations: 2.282 MB / 496.3 MB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4493, allocations: 0 / 496.3 MB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.4516, allocations: 1.48 MB / 497.8 MB, free: 6.207 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.4537, allocations: 440.5 kB / 498.2 MB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007438/0.4612, allocations: 4.52 MB / 0.4909 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.4628, allocations: 1.791 MB / 0.4927 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006209/0.4634, allocations: 119.4 kB / 0.4928 GB, free: 15.25 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4634, allocations: 0 / 0.4928 GB, free: 15.25 MB / 430.1 MB Notification: Performance of Templates: time 0.29/0.7534, allocations: 70.35 MB / 0.5615 GB, free: 120.3 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/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