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.0009183/0.0009182, allocations: 94.34 kB / 16.31 MB, free: 5.57 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.001114/0.001114, allocations: 176.9 kB / 17.2 MB, free: 5.492 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.539/1.539, allocations: 223.2 MB / 241.2 MB, free: 344 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 4 kB / 300.8 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 50.42 MB / 351.2 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.009079/0.1367, allocations: 8.293 MB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006434/0.1432, allocations: 2.81 MB / 362.4 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.1448, allocations: 39.81 kB / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.1464, allocations: 0.5087 MB / 362.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.1488, allocations: 0.6604 MB / 363.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007911/0.1496, allocations: 219.7 kB / 363.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003545/0.1531, allocations: 2.755 MB / 366.5 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.1551, allocations: 1.374 MB / 367.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.1568, allocations: 0.9027 MB / 368.8 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.159, allocations: 1.237 MB / 370 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.1594, allocations: 132 kB / 370.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008109/0.1602, allocations: 199.9 kB / 370.4 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007411/0.1609, allocations: 0.6775 MB / 371 MB, free: 104 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2482/0.4092, allocations: 498.2 kB / 371.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008355/0.4176, allocations: 3.266 MB / 374.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.4176, allocations: 0 / 374.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.4177, allocations: 1.375 kB / 374.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000198/0.4179, allocations: 0.7188 kB / 374.8 MB, free: 11.66 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.01059/0.4285, allocations: 2.453 MB / 377.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.4285, allocations: 8.25 kB / 377.3 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.4298, allocations: 287.4 kB / 377.5 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/0.433, allocations: 1.439 MB / 379 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.4332, allocations: 150.3 kB / 379.1 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004095/0.4336, allocations: 209.5 kB / 379.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/0.4395, allocations: 2.723 MB / 382.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.321e-05/0.4396, allocations: 12.34 kB / 382.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002402/0.4399, allocations: 81.47 kB / 382.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.44, allocations: 93.42 kB / 382.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/0.4453, allocations: 2.332 MB / 384.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.4614, allocations: 8.462 MB / 393 MB, free: 5.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002199/0.4637, allocations: 1.78 MB / 394.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.4655, allocations: 1.066 MB / 395.9 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.4658, allocations: 127.8 kB / 396 MB, free: 3.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4658, allocations: 49.5 kB / 396 MB, free: 3.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=104): time 3.426e-06/0.4658, allocations: 0 / 396 MB, free: 3.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=120): time 0.0122/0.478, allocations: 6.272 MB / 402.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.4781, allocations: 60.41 kB / 402.4 MB, free: 15.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002498/0.4806, allocations: 1.501 MB / 403.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.573e-05/0.4807, allocations: 49.7 kB / 403.9 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007919/0.4815, allocations: 0.9852 MB / 404.9 MB, free: 13.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.4819, allocations: 419.5 kB / 405.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.482, allocations: 24 kB / 405.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4821, allocations: 365.9 kB / 405.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.4833, allocations: 0.73 MB / 406.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.4847, allocations: 1.065 MB / 407.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.486, allocations: 0.8805 MB / 408.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.486, allocations: 0 / 408.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003917/0.49, allocations: 2.362 MB / 410.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.49, allocations: 10.34 kB / 410.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.49, allocations: 12 kB / 410.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/0.491, allocations: 417.7 kB / 411.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4922, allocations: 329.2 kB / 411.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004891/0.4971, allocations: 4.636 MB / 416.1 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.4986, allocations: 95.97 kB / 416.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.4987, allocations: 55.98 kB / 416.3 MB, free: 1.672 MB / 318.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[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 initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00159/0.5003, allocations: 0.7167 MB / 417 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.5006, allocations: 162 kB / 417.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/0.5043, allocations: 2.148 MB / 419.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5043, allocations: 14.3 kB / 419.3 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.5043, allocations: 4 kB / 419.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5043, allocations: 7.969 kB / 419.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007794/0.5121, allocations: 4.6 MB / 423.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.5122, allocations: 4 kB / 423.9 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009898/0.5132, allocations: 224.7 kB / 424.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.5144, allocations: 463 kB / 424.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-05/0.5145, allocations: 34.27 kB / 424.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00624/0.5207, allocations: 6.135 MB / 430.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.5208, allocations: 3.953 kB / 430.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/0.5258, allocations: 3.198 MB / 434 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.5268, allocations: 395 kB / 434.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.527, allocations: 35.94 kB / 434.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.5278, allocations: 83.91 kB / 434.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.5281, allocations: 107.8 kB / 434.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.741e-05/0.5282, allocations: 32 kB / 434.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001863/0.5301, allocations: 1.036 MB / 435.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5301, allocations: 0 / 435.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001896/0.532, allocations: 468 kB / 436.1 MB, free: 13.37 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 (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003466/0.5323, allocations: 150.5 kB / 436.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003572/0.5359, allocations: 2.281 MB / 438.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5359, allocations: 0 / 438.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.5381, allocations: 1.495 MB / 440 MB, free: 9.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.5402, allocations: 435.1 kB / 440.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008315/0.5485, allocations: 5.296 MB / 445.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.5502, allocations: 1.826 MB / 447.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001394/0.5516, allocations: 397.5 kB / 448 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.552, allocations: 103.4 kB / 448.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of SimCode: time 1.373e-06/0.552, allocations: 0 / 448.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of Templates: time 0.04886/0.6008, allocations: 23.47 MB / 471.5 MB, free: 10.11 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