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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001082/0.001083, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2784, allocations: 50.55 MB / 410 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01021/0.2887, allocations: 9.431 MB / 419.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005139/0.2938, allocations: 3.042 MB / 422.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/0.2946, allocations: 47.81 kB / 422.5 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.296, allocations: 0.6678 MB / 423.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.2976, allocations: 0.804 MB / 423.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.2983, allocations: 363.5 kB / 424.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.3007, allocations: 2.669 MB / 427 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.3029, allocations: 2.155 MB / 429.1 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.3042, allocations: 1.203 MB / 430.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.3059, allocations: 1.495 MB / 431.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003647/0.3063, allocations: 308 kB / 432.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006334/0.3069, allocations: 411.8 kB / 432.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007493/0.3077, allocations: 0.8882 MB / 433.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.309, allocations: 1.419 MB / 434.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003469/0.3125, allocations: 4.098 MB / 438.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3125, allocations: 0 / 438.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3125, allocations: 0 / 438.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.2e-05/0.3126, allocations: 0 / 438.9 MB, free: 4.473 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.004847/0.3174, allocations: 2.865 MB / 441.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3175, allocations: 8.031 kB / 441.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009249/0.3184, allocations: 329.6 kB / 442.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.3207, allocations: 1.543 MB / 443.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.3208, allocations: 160.3 kB / 443.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.3211, allocations: 203.9 kB / 444 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.3253, allocations: 2.74 MB / 446.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.69e-05/0.3253, allocations: 7.906 kB / 446.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.3255, allocations: 84 kB / 446.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.952e-05/0.3256, allocations: 91.94 kB / 446.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00359/0.3292, allocations: 2.334 MB / 449.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.3402, allocations: 8.302 MB / 457.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.3423, allocations: 1.788 MB / 459.4 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.3442, allocations: 1.069 MB / 460.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.3445, allocations: 126 kB / 460.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3445, allocations: 47.56 kB / 460.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.875e-06/0.3445, allocations: 0 / 460.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01263/0.3571, allocations: 6.212 MB / 466.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.3572, allocations: 64.41 kB / 466.9 MB, free: 7.785 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.3595, allocations: 1.529 MB / 468.4 MB, free: 6.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/0.3596, allocations: 53.64 kB / 468.5 MB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007356/0.3604, allocations: 0.9835 MB / 469.4 MB, free: 5.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.3607, allocations: 425.9 kB / 469.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004202/0.3611, allocations: 247.5 kB / 470.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3613, allocations: 361.9 kB / 470.5 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.3624, allocations: 0.73 MB / 471.2 MB, free: 3.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3638, allocations: 1.059 MB / 472.2 MB, free: 2.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002554/0.3664, allocations: 1.879 MB / 474.1 MB, free: 240 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3664, allocations: 4 kB / 474.1 MB, free: 236 kB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00401/0.3704, allocations: 2.345 MB / 476.5 MB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.3705, allocations: 12 kB / 476.5 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.3705, allocations: 12.33 kB / 476.5 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009668/0.3715, allocations: 411.1 kB / 476.9 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.3727, allocations: 339.5 kB / 477.2 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005133/0.3778, allocations: 5.051 MB / 482.3 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.3789, allocations: 95.81 kB / 482.4 MB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.379, allocations: 55.94 kB / 482.4 MB, free: 7.617 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.001057/0.3801, allocations: 0.7158 MB / 483.1 MB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002935/0.3804, allocations: 162 kB / 483.3 MB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.3844, allocations: 2.145 MB / 485.4 MB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.3844, allocations: 3.984 kB / 485.5 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3844, allocations: 0 / 485.5 MB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007363/0.3852, allocations: 399 kB / 485.8 MB, free: 4.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.3854, allocations: 27.98 kB / 485.9 MB, free: 4.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.3863, allocations: 79.91 kB / 485.9 MB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.3865, allocations: 108.8 kB / 486.1 MB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00461/0.3911, allocations: 2.253 MB / 488.3 MB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004141/0.3953, allocations: 2.905 MB / 491.2 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00112/0.3964, allocations: 0.808 MB / 492 MB, free: 13.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001631/0.3981, allocations: 1.056 MB / 493.1 MB, free: 12.86 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.3981, allocations: 0 / 493.1 MB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004627/0.4027, allocations: 1.746 MB / 494.8 MB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 0.01159/0.4143, allocations: 4.735 MB / 499.6 MB, free: 6.258 MB / 414.1 MB Notification: Performance of Templates: time 0.06034/0.4747, allocations: 27.99 MB / 0.5152 GB, free: 10.5 MB / 446.1 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/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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches