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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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=25000,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=25000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 67.88 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2729, allocations: 53.41 MB / 432.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01295/0.2858, allocations: 10.44 MB / 442.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007575/0.2934, allocations: 3.302 MB / 446.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.2955, allocations: 71.5 kB / 446.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002691/0.2982, allocations: 0.7338 MB / 447 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003569/0.3017, allocations: 0.9321 MB / 447.9 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.3032, allocations: 427.4 kB / 448.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005233/0.3085, allocations: 3.448 MB / 451.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002943/0.3114, allocations: 1.424 MB / 453.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.3143, allocations: 1.569 MB / 454.8 MB, free: 292 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.318, allocations: 1.907 MB / 456.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001215/0.3192, allocations: 396 kB / 457.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.321, allocations: 495.8 kB / 457.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.3228, allocations: 1.13 MB / 458.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003546/0.3263, allocations: 1.781 MB / 460.5 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007473/0.3338, allocations: 5.247 MB / 465.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.3338, allocations: 4 kB / 465.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3338, allocations: 0 / 465.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001885/0.334, allocations: 0 / 465.7 MB, free: 5.309 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.01016/0.3442, allocations: 3.547 MB / 469.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.3442, allocations: 12.03 kB / 469.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.3456, allocations: 406.7 kB / 469.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.3496, allocations: 1.879 MB / 471.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.3498, allocations: 197 kB / 471.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000443/0.3503, allocations: 259.9 kB / 472 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00633/0.3566, allocations: 3.531 MB / 475.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-05/0.3566, allocations: 11.89 kB / 475.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.3569, allocations: 108 kB / 475.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/0.357, allocations: 112.9 kB / 475.8 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005423/0.3624, allocations: 3.091 MB / 478.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.3812, allocations: 10.62 MB / 489.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.3844, allocations: 2.063 MB / 491.5 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.3866, allocations: 1.293 MB / 492.8 MB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3869, allocations: 53.27 kB / 492.9 MB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00177/0.3886, allocations: 1.152 MB / 494 MB, free: 8.484 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.316e-06/0.3886, allocations: 0 / 494 MB, free: 8.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.02099/0.4096, allocations: 8.447 MB / 0.4907 GB, free: 16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.4098, allocations: 176.2 kB / 0.4909 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002855/0.4126, allocations: 1.852 MB / 0.4927 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.4129, allocations: 53.7 kB / 0.4927 GB, free: 13.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.4141, allocations: 1.234 MB / 0.4939 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006592/0.4148, allocations: 0.5849 MB / 0.4945 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005734/0.4153, allocations: 355.5 kB / 0.4948 GB, free: 11.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4155, allocations: 305.1 kB / 0.4951 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.4172, allocations: 1.003 MB / 0.4961 GB, free: 10.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.4192, allocations: 1.434 MB / 0.4975 GB, free: 8.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/0.423, allocations: 2.454 MB / 0.4999 GB, free: 6.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.423, allocations: 4 kB / 0.4999 GB, free: 6.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006242/0.4292, allocations: 3.315 MB / 0.5032 GB, free: 2.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.4292, allocations: 12 kB / 0.5032 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.4293, allocations: 8 kB / 0.5032 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/0.4314, allocations: 0.8928 MB / 0.504 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.4328, allocations: 331.5 kB / 0.5044 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.4457, allocations: 10.14 MB / 0.5143 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.4476, allocations: 135.9 kB / 0.5144 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.4478, allocations: 68 kB / 0.5145 GB, free: 6.914 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.001724/0.4495, allocations: 0.9175 MB / 0.5154 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.45, allocations: 218.6 kB / 0.5156 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005664/0.4557, allocations: 3.095 MB / 0.5186 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.718e-05/0.4557, allocations: 16 kB / 0.5186 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.4557, allocations: 8 kB / 0.5186 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.4557, allocations: 7.969 kB / 0.5186 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.4677, allocations: 6.182 MB / 0.5247 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.4677, allocations: 4 kB / 0.5247 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009852/0.4687, allocations: 211.6 kB / 0.5249 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/0.4711, allocations: 0.9254 MB / 0.5258 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.4713, allocations: 39.98 kB / 0.5258 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2412/0.7126, allocations: 11.62 MB / 0.5372 GB, free: 99.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.7126, allocations: 6.094 kB / 0.5372 GB, free: 99.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007493/0.7201, allocations: 4.499 MB / 0.5415 GB, free: 98.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.7215, allocations: 442.5 kB / 0.542 GB, free: 98.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003627/0.7218, allocations: 35.02 kB / 0.542 GB, free: 98.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.7229, allocations: 103.8 kB / 0.5421 GB, free: 98.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/0.7234, allocations: 204.3 kB / 0.5423 GB, free: 98.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.7235, allocations: 47.66 kB / 0.5423 GB, free: 98.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.7253, allocations: 1.27 MB / 0.5436 GB, free: 97.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7253, allocations: 0 / 0.5436 GB, free: 97.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001964/0.7273, allocations: 0.637 MB / 0.5442 GB, free: 97.66 MB / 446.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.0004032/0.7277, allocations: 213.2 kB / 0.5444 GB, free: 97.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004363/0.732, allocations: 3.003 MB / 0.5473 GB, free: 96.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.732, allocations: 0 / 0.5473 GB, free: 96.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002761/0.7348, allocations: 2.057 MB / 0.5494 GB, free: 95.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.7373, allocations: 0.5777 MB / 0.5499 GB, free: 95.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007836/0.7451, allocations: 5.825 MB / 0.5556 GB, free: 91.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/0.7464, allocations: 2.158 MB / 0.5577 GB, free: 89.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006008/0.747, allocations: 137.8 kB / 0.5578 GB, free: 89.29 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.747, allocations: 0 / 0.5578 GB, free: 89.29 MB / 446.1 MB Notification: Performance of Templates: time 0.08577/0.8328, allocations: 103.7 MB / 0.6591 GB, free: 1.867 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.320176433073357]