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.001413/0.001413, allocations: 109.5 kB / 17.68 MB, free: 5.332 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.001309/0.001309, allocations: 190.9 kB / 18.62 MB, free: 4.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.361/1.361, allocations: 222.9 MB / 242.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009793/0.0009793, allocations: 53.83 kB / 302.1 MB, free: 5.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1114, allocations: 49.44 MB / 351.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01092/0.1224, allocations: 9.376 MB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005416/0.1278, allocations: 2.983 MB / 363.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.129, allocations: 47.81 kB / 363.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.1305, allocations: 0.6288 MB / 364.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.1325, allocations: 0.7766 MB / 365.3 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007843/0.1333, allocations: 343.6 kB / 365.6 MB, free: 5.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003243/0.1366, allocations: 2.657 MB / 368.3 MB, free: 2.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.1391, allocations: 2.159 MB / 370.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2249/0.364, allocations: 1.183 MB / 371.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002899/0.367, allocations: 1.488 MB / 373.1 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006187/0.3676, allocations: 307.6 kB / 373.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3687, allocations: 404.6 kB / 373.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009864/0.3697, allocations: 0.8827 MB / 374.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.3713, allocations: 1.41 MB / 376.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005773/0.3771, allocations: 4.078 MB / 380.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3772, allocations: 0 / 380.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3772, allocations: 0 / 380.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001343/0.3773, allocations: 1.125 kB / 380.2 MB, free: 11.83 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.007573/0.3849, allocations: 2.856 MB / 383.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.385, allocations: 9.125 kB / 383.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3863, allocations: 286.4 kB / 383.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.3899, allocations: 1.528 MB / 384.9 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.3901, allocations: 152.9 kB / 385 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.3905, allocations: 207.8 kB / 385.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/0.3959, allocations: 2.735 MB / 388 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.003e-05/0.396, allocations: 2.25 kB / 388 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.3962, allocations: 86.5 kB / 388 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001454/0.3964, allocations: 96.3 kB / 388.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.4004, allocations: 2.324 MB / 390.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.4124, allocations: 8.314 MB / 398.8 MB, free: 0.918 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.4142, allocations: 1.777 MB / 400.6 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.4158, allocations: 1.065 MB / 401.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.4161, allocations: 122.5 kB / 401.7 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.4161, allocations: 42.62 kB / 401.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/0.4161, allocations: 0 / 401.8 MB, free: 15.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=120): time 0.01241/0.4286, allocations: 6.196 MB / 408 MB, free: 9.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.4286, allocations: 64.41 kB / 408 MB, free: 8.992 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.431, allocations: 1.516 MB / 409.6 MB, free: 7.465 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.4311, allocations: 49.7 kB / 409.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006612/0.4318, allocations: 0.9814 MB / 410.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.4321, allocations: 412.9 kB / 411 MB, free: 6.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.4325, allocations: 255.4 kB / 411.2 MB, free: 5.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4326, allocations: 356 kB / 411.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4337, allocations: 0.7378 MB / 412.3 MB, free: 4.676 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.435, allocations: 1.061 MB / 413.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.4375, allocations: 1.87 MB / 415.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.4375, allocations: 8 kB / 415.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003794/0.4413, allocations: 2.36 MB / 417.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4413, allocations: 8 kB / 417.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4413, allocations: 12 kB / 417.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009352/0.4423, allocations: 411.5 kB / 418 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.4435, allocations: 329.5 kB / 418.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.4487, allocations: 5.059 MB / 423.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.4502, allocations: 91.97 kB / 423.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4503, allocations: 52.75 kB / 423.6 MB, free: 9.02 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.001415/0.4518, allocations: 0.7111 MB / 424.3 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.4521, allocations: 158 kB / 424.4 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003623/0.4557, allocations: 2.142 MB / 426.6 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.4557, allocations: 12 kB / 426.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4557, allocations: 4 kB / 426.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4558, allocations: 7.969 kB / 426.6 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.464, allocations: 4.569 MB / 431.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4641, allocations: 0.5625 kB / 431.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.465, allocations: 223.2 kB / 431.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.4662, allocations: 470.9 kB / 431.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/0.4664, allocations: 32.42 kB / 431.9 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006325/0.4727, allocations: 6.678 MB / 438.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.4727, allocations: 10.69 kB / 438.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.4776, allocations: 3.184 MB / 441.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.4787, allocations: 395 kB / 442.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.479, allocations: 31.98 kB / 442.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/0.4798, allocations: 75.92 kB / 442.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.4801, allocations: 107.4 kB / 442.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/0.4802, allocations: 35.98 kB / 442.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.4817, allocations: 1.044 MB / 443.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4818, allocations: 0 / 443.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001576/0.4833, allocations: 464.1 kB / 443.9 MB, free: 4.211 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.0003772/0.4837, allocations: 198.4 kB / 444.1 MB, free: 4.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003302/0.487, allocations: 2.272 MB / 446.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.487, allocations: 128 / 446.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.4892, allocations: 1.494 MB / 447.8 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.4913, allocations: 441 kB / 448.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007466/0.4988, allocations: 4.457 MB / 452.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.5003, allocations: 1.826 MB / 454.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001313/0.5016, allocations: 393.5 kB / 454.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.502, allocations: 111.4 kB / 455 MB, free: 8.906 MB / 366.1 MB Notification: Performance of SimCode: time 1.042e-06/0.502, allocations: 0 / 455 MB, free: 8.906 MB / 366.1 MB Notification: Performance of Templates: time 0.04933/0.5513, allocations: 25.53 MB / 480.6 MB, free: 15.71 MB / 398.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 -s cvode -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