Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 114.3 kB / 18.45 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.001182/0.001182, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.12 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2478, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01159/0.2594, allocations: 10.34 MB / 420.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005858/0.2653, allocations: 3.275 MB / 423.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.2666, allocations: 55.75 kB / 423.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.2685, allocations: 0.7299 MB / 424.3 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002444/0.271, allocations: 0.9322 MB / 425.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009785/0.272, allocations: 415.5 kB / 425.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.2756, allocations: 3.42 MB / 429.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002616/0.2782, allocations: 2.595 MB / 431.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.2799, allocations: 1.534 MB / 433.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.2819, allocations: 1.86 MB / 435.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004854/0.2823, allocations: 396 kB / 435.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.2832, allocations: 491.8 kB / 436 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009553/0.2841, allocations: 1.118 MB / 437.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001596/0.2857, allocations: 1.777 MB / 438.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004444/0.2902, allocations: 5.247 MB / 444.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2902, allocations: 4 kB / 444.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2902, allocations: 0 / 444.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.553e-05/0.2903, allocations: 0 / 444.1 MB, free: 15.27 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.005941/0.2962, allocations: 3.626 MB / 447.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2963, allocations: 12.03 kB / 447.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2974, allocations: 398.7 kB / 448.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.3003, allocations: 1.947 MB / 450.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.3005, allocations: 209 kB / 450.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000374/0.3009, allocations: 255.9 kB / 450.5 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005274/0.3062, allocations: 3.531 MB / 454.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.366e-05/0.3063, allocations: 11.95 kB / 454.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.3065, allocations: 104 kB / 454.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.3066, allocations: 112.9 kB / 454.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004883/0.3115, allocations: 3.099 MB / 457.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.3274, allocations: 10.76 MB / 468.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.3308, allocations: 3.078 MB / 471.2 MB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.3329, allocations: 1.392 MB / 472.6 MB, free: 2.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.3332, allocations: 138.4 kB / 472.8 MB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001665/0.3349, allocations: 1.148 MB / 473.9 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.307e-06/0.3349, allocations: 0 / 473.9 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.0198/0.3547, allocations: 8.913 MB / 482.8 MB, free: 7.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/0.3548, allocations: 176.2 kB / 483 MB, free: 7.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002956/0.3578, allocations: 1.845 MB / 484.8 MB, free: 5.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.3579, allocations: 65.69 kB / 484.9 MB, free: 5.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.359, allocations: 1.23 MB / 486.1 MB, free: 4.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.3594, allocations: 0.5927 MB / 486.7 MB, free: 3.656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00059/0.36, allocations: 355.5 kB / 487.1 MB, free: 3.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.3601, allocations: 301.1 kB / 487.4 MB, free: 3.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.3617, allocations: 0.9994 MB / 488.4 MB, free: 2.004 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.3636, allocations: 1.43 MB / 489.8 MB, free: 424 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003428/0.3671, allocations: 2.457 MB / 492.2 MB, free: 13.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.3671, allocations: 4 kB / 492.3 MB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005579/0.3727, allocations: 3.335 MB / 495.6 MB, free: 10.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3727, allocations: 12 kB / 495.6 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.3727, allocations: 8 kB / 495.6 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.3748, allocations: 0.8882 MB / 496.5 MB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.3761, allocations: 335.4 kB / 496.8 MB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.3881, allocations: 10.44 MB / 0.4954 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.3897, allocations: 135.8 kB / 0.4955 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.3899, allocations: 68 kB / 0.4956 GB, free: 14.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (9,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001688/0.3916, allocations: 0.9249 MB / 0.4965 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005032/0.3921, allocations: 226.6 kB / 0.4967 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005945/0.3981, allocations: 3.107 MB / 0.4997 GB, free: 9.848 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.087e-05/0.3981, allocations: 7.969 kB / 0.4997 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.3981, allocations: 4 kB / 0.4997 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.3994, allocations: 0.5113 MB / 0.5002 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/0.3999, allocations: 35.98 kB / 0.5003 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.401, allocations: 103.9 kB / 0.5004 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004891/0.4015, allocations: 205.9 kB / 0.5006 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007184/0.4087, allocations: 3.285 MB / 0.5038 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006062/0.4148, allocations: 3.877 MB / 0.5076 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001687/0.4165, allocations: 1.144 MB / 0.5087 GB, free: 0.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002341/0.4188, allocations: 1.267 MB / 0.5099 GB, free: 15.37 MB / 446.1 MB Notification: Performance of Backend: time 4.91e-07/0.4188, allocations: 4 kB / 0.5099 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005397/0.4242, allocations: 2.498 MB / 0.5124 GB, free: 12.77 MB / 446.1 MB Notification: Performance of SimCode: time 0.01052/0.4348, allocations: 6.199 MB / 0.5184 GB, free: 6.516 MB / 446.1 MB Notification: Performance of Templates: time 0.2463/0.6811, allocations: 38.83 MB / 0.5563 GB, free: 121.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches