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.001419/0.001419, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001505, allocations: 203.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.88 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3026, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01299/0.3156, allocations: 10.33 MB / 419.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.3223, allocations: 3.287 MB / 422.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.3238, allocations: 59.75 kB / 422.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.3256, allocations: 0.6947 MB / 423.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.3285, allocations: 0.8854 MB / 424.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.3295, allocations: 411.5 kB / 424.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004752/0.3343, allocations: 3.42 MB / 428.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003308/0.3376, allocations: 2.603 MB / 430.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.34, allocations: 1.526 MB / 432.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.343, allocations: 1.856 MB / 434.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006378/0.3436, allocations: 400 kB / 434.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001124/0.3448, allocations: 491.8 kB / 435.2 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.3459, allocations: 1.114 MB / 436.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.3482, allocations: 1.781 MB / 438.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00577/0.354, allocations: 5.251 MB / 443.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.354, allocations: 0 / 443.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.354, allocations: 0 / 443.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001258/0.3542, allocations: 4 kB / 443.3 MB, free: 15.34 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.0076/0.3618, allocations: 3.622 MB / 447 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3618, allocations: 12.03 kB / 447 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.3631, allocations: 398.7 kB / 447.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/0.3668, allocations: 1.958 MB / 449.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.367, allocations: 197 kB / 449.5 MB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004079/0.3674, allocations: 252 kB / 449.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006239/0.3736, allocations: 3.535 MB / 453.3 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.754e-05/0.3737, allocations: 7.953 kB / 453.3 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.374, allocations: 104 kB / 453.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.3741, allocations: 112.9 kB / 453.5 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00559/0.3797, allocations: 3.095 MB / 456.6 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01715/0.3969, allocations: 10.76 MB / 467.4 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003452/0.4004, allocations: 3.079 MB / 470.4 MB, free: 3.488 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.4026, allocations: 1.391 MB / 471.8 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.4029, allocations: 138.4 kB / 472 MB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001721/0.4046, allocations: 1.148 MB / 473.1 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.557e-06/0.4046, allocations: 4 kB / 473.1 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02029/0.4249, allocations: 8.916 MB / 482 MB, free: 7.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.4251, allocations: 180.2 kB / 482.2 MB, free: 7.492 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/0.4285, allocations: 1.852 MB / 484.1 MB, free: 5.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.4286, allocations: 57.7 kB / 484.1 MB, free: 5.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.4299, allocations: 1.226 MB / 485.3 MB, free: 4.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.4304, allocations: 0.5927 MB / 485.9 MB, free: 3.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006419/0.4311, allocations: 355.5 kB / 486.3 MB, free: 3.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4312, allocations: 301.1 kB / 486.6 MB, free: 3.09 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.4329, allocations: 1.003 MB / 487.6 MB, free: 2.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.4349, allocations: 1.43 MB / 489 MB, free: 0.4961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00369/0.4386, allocations: 2.454 MB / 491.5 MB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/0.4387, allocations: 4 kB / 491.5 MB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006012/0.4447, allocations: 3.339 MB / 494.8 MB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.4448, allocations: 12 kB / 494.8 MB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.359e-05/0.4448, allocations: 15.92 kB / 494.8 MB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.4472, allocations: 0.8805 MB / 495.7 MB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.4485, allocations: 339.4 kB / 496.1 MB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01353/0.4621, allocations: 10.43 MB / 0.4946 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.4643, allocations: 132 kB / 0.4947 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/0.4647, allocations: 72.05 kB / 0.4948 GB, free: 14.22 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.001987/0.4667, allocations: 0.9368 MB / 0.4957 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/0.4673, allocations: 218.6 kB / 0.4959 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/0.4733, allocations: 3.107 MB / 0.499 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/0.4734, allocations: 16 kB / 0.499 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.224e-05/0.4734, allocations: 12 kB / 0.499 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.347e-05/0.4735, allocations: 7.969 kB / 0.499 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.4861, allocations: 6.214 MB / 0.5051 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.4861, allocations: 4 kB / 0.5051 GB, free: 3.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009542/0.4871, allocations: 216 kB / 0.5053 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002414/0.4895, allocations: 0.9251 MB / 0.5062 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/0.4897, allocations: 47.92 kB / 0.5062 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.5035, allocations: 12.02 MB / 0.518 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/0.5036, allocations: 7.938 kB / 0.518 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009376/0.513, allocations: 4.516 MB / 0.5224 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001457/0.5145, allocations: 0.4995 MB / 0.5229 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007904/0.5153, allocations: 40 kB / 0.5229 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001524/0.5168, allocations: 103.8 kB / 0.523 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006017/0.5175, allocations: 197 kB / 0.5232 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.5176, allocations: 47.98 kB / 0.5232 GB, free: 308 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002785/0.5204, allocations: 1.267 MB / 0.5245 GB, free: 15.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5205, allocations: 0 / 0.5245 GB, free: 15.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003379/0.5238, allocations: 0.6405 MB / 0.5251 GB, free: 14.4 MB / 462.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: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,25,33.3%), (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.0005496/0.5244, allocations: 204.1 kB / 0.5253 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005769/0.5302, allocations: 3.266 MB / 0.5285 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.5302, allocations: 4 kB / 0.5285 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003618/0.5339, allocations: 2.253 MB / 0.5307 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/0.537, allocations: 0.5669 MB / 0.5312 GB, free: 7.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5477, allocations: 5.786 MB / 0.5369 GB, free: 2.109 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2344/0.7822, allocations: 2.19 MB / 0.539 GB, free: 123.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00265/0.7849, allocations: 458.1 kB / 0.5395 GB, free: 123.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.7855, allocations: 135.6 kB / 0.5396 GB, free: 123.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7855, allocations: 0 / 0.5396 GB, free: 123.2 MB / 462.1 MB Notification: Performance of Templates: time 0.05526/0.8407, allocations: 38.22 MB / 0.5769 GB, free: 95.48 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins/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