Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001288/0.001288, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.7 MB / 245.5 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 102.3 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 55.91 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3066, allocations: 50.44 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01187/0.3185, allocations: 9.354 MB / 416.4 MB, free: 18.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006811/0.3254, allocations: 2.998 MB / 419.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.3275, allocations: 43.81 kB / 419.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.3299, allocations: 0.5711 MB / 420 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.3331, allocations: 0.7072 MB / 420.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.3339, allocations: 303.7 kB / 421 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002983/0.3369, allocations: 3.094 MB / 424.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.3393, allocations: 1.822 MB / 425.9 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.341, allocations: 1.043 MB / 427 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.3428, allocations: 1.44 MB / 428.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.3432, allocations: 188 kB / 428.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007964/0.344, allocations: 295.8 kB / 428.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007021/0.3447, allocations: 0.7632 MB / 429.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.3461, allocations: 1.287 MB / 430.9 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.3499, allocations: 3.937 MB / 434.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.35, allocations: 3.984 kB / 434.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.35, allocations: 0 / 434.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.255e-05/0.3501, allocations: 0 / 434.9 MB, free: 15.85 MB / 314.7 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.008113/0.3582, allocations: 2.853 MB / 437.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3583, allocations: 12.03 kB / 437.7 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.3597, allocations: 321.6 kB / 438.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.3635, allocations: 1.496 MB / 439.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.3637, allocations: 148.4 kB / 439.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004439/0.3641, allocations: 203.9 kB / 439.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006572/0.3707, allocations: 2.736 MB / 442.6 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.502e-05/0.3708, allocations: 15.89 kB / 442.7 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/0.3711, allocations: 79.98 kB / 442.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001364/0.3712, allocations: 91.94 kB / 442.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005848/0.3771, allocations: 2.334 MB / 445.2 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.3956, allocations: 8.395 MB / 453.5 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.3987, allocations: 1.789 MB / 455.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002744/0.4014, allocations: 1.066 MB / 456.4 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003172/0.4018, allocations: 126.1 kB / 456.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.4018, allocations: 43.56 kB / 456.6 MB, free: 9.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 4.469e-06/0.4019, allocations: 0 / 456.6 MB, free: 9.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.01958/0.4214, allocations: 6.198 MB / 462.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.4215, allocations: 64.41 kB / 462.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/0.4249, allocations: 1.524 MB / 464.4 MB, free: 1.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.4251, allocations: 49.7 kB / 464.4 MB, free: 1.578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.4262, allocations: 0.9796 MB / 465.4 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.4268, allocations: 414 kB / 465.8 MB, free: 180 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/0.4274, allocations: 255.3 kB / 466 MB, free: 15.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.4276, allocations: 357.9 kB / 466.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.4295, allocations: 0.7339 MB / 467.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.4316, allocations: 1.063 MB / 468.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/0.4356, allocations: 1.871 MB / 470.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.4357, allocations: 4 kB / 470.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006173/0.4419, allocations: 2.353 MB / 472.4 MB, free: 9.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.4419, allocations: 10.97 kB / 472.4 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.442, allocations: 12 kB / 472.4 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.4435, allocations: 407.5 kB / 472.8 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.4452, allocations: 327.5 kB / 473.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006429/0.4516, allocations: 4.658 MB / 477.8 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.4534, allocations: 83.91 kB / 477.9 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.4536, allocations: 55.98 kB / 477.9 MB, free: 3.445 MB / 346.7 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.001762/0.4554, allocations: 0.7096 MB / 478.7 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.4558, allocations: 170 kB / 478.8 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/0.4613, allocations: 2.145 MB / 481 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.4613, allocations: 12 kB / 481 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.4614, allocations: 7.938 kB / 481 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.4614, allocations: 3.984 kB / 481 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.4724, allocations: 4.581 MB / 485.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4724, allocations: 4 kB / 485.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.4737, allocations: 220 kB / 485.8 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/0.4754, allocations: 466.8 kB / 486.2 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.4756, allocations: 35.98 kB / 486.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008145/0.4837, allocations: 6.148 MB / 492.4 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.4837, allocations: 3.938 kB / 492.4 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2276/0.7113, allocations: 23.36 MB / 0.5037 GB, free: 87.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009803/0.7124, allocations: 403 kB / 0.5041 GB, free: 87.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.7126, allocations: 33.14 kB / 0.5041 GB, free: 87.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.7136, allocations: 74.91 kB / 0.5042 GB, free: 87.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/0.714, allocations: 104 kB / 0.5043 GB, free: 87.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/0.7141, allocations: 34.12 kB / 0.5043 GB, free: 87.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001793/0.7159, allocations: 1.049 MB / 0.5053 GB, free: 87.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7159, allocations: 0 / 0.5053 GB, free: 87.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002277/0.7182, allocations: 0.6457 MB / 0.506 GB, free: 87.69 MB / 378.7 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.0003988/0.7186, allocations: 198.9 kB / 0.5062 GB, free: 87.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003712/0.7223, allocations: 2.252 MB / 0.5084 GB, free: 86.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7224, allocations: 0 / 0.5084 GB, free: 86.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.7245, allocations: 1.493 MB / 0.5098 GB, free: 85.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.7264, allocations: 428.2 kB / 0.5102 GB, free: 85.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007828/0.7343, allocations: 6.805 MB / 0.5169 GB, free: 81.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/0.7355, allocations: 1.87 MB / 0.5187 GB, free: 80.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001212/0.7367, allocations: 421.7 kB / 0.5191 GB, free: 80.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.7371, allocations: 113 kB / 0.5192 GB, free: 80.91 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.7371, allocations: 6.922 kB / 0.5192 GB, free: 80.91 MB / 378.7 MB Notification: Performance of Templates: time 0.04245/0.7795, allocations: 30.58 MB / 0.5491 GB, free: 51.41 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches