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.002066/0.002066, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.00349/0.00349, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.576/1.576, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.001906/0.001906, allocations: 63.89 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1288, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.2117/0.3405, allocations: 10.38 MB / 437.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.3464, allocations: 3.298 MB / 440.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.3477, allocations: 52.53 kB / 440.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.3493, allocations: 0.7392 MB / 441.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.3515, allocations: 0.9187 MB / 442.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00084/0.3523, allocations: 422.6 kB / 443 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.3557, allocations: 3.436 MB / 446.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.3579, allocations: 1.88 MB / 448.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.3604, allocations: 1.537 MB / 449.8 MB, free: 44 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.3636, allocations: 1.909 MB / 451.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006103/0.3642, allocations: 396.9 kB / 452.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.3652, allocations: 0.4921 MB / 452.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.3665, allocations: 1.118 MB / 453.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004742/0.3712, allocations: 1.779 MB / 455.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008155/0.3794, allocations: 5.249 MB / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3794, allocations: 1.344 kB / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3794, allocations: 0 / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000155/0.3795, allocations: 0 / 460.8 MB, free: 10.28 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.009008/0.3886, allocations: 3.62 MB / 464.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3886, allocations: 9.156 kB / 464.4 MB, free: 7.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.3899, allocations: 406.5 kB / 464.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.3936, allocations: 1.947 MB / 466.7 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.3937, allocations: 203.9 kB / 466.9 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/0.3941, allocations: 254.9 kB / 467.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007572/0.4017, allocations: 3.541 MB / 470.7 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.893e-05/0.4018, allocations: 13.78 kB / 470.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002752/0.4021, allocations: 102.5 kB / 470.8 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001832/0.4023, allocations: 113.3 kB / 470.9 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/0.4082, allocations: 3.094 MB / 474 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.4261, allocations: 10.76 MB / 484.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/0.4298, allocations: 2.97 MB / 487.8 MB, free: 3.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.432, allocations: 1.29 MB / 489.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.4323, allocations: 130.4 kB / 489.2 MB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001828/0.4341, allocations: 1.152 MB / 490.3 MB, free: 1.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 4.278e-06/0.4341, allocations: 5.344 kB / 490.3 MB, free: 1.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02219/0.4563, allocations: 8.894 MB / 499.2 MB, free: 8.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.4564, allocations: 180.2 kB / 499.4 MB, free: 7.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.4595, allocations: 1.852 MB / 0.4895 GB, free: 6.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.4597, allocations: 57.7 kB / 0.4896 GB, free: 5.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.4609, allocations: 1.23 MB / 0.4908 GB, free: 4.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000559/0.4615, allocations: 0.5888 MB / 0.4913 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.4621, allocations: 351.5 kB / 0.4917 GB, free: 3.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4622, allocations: 305.1 kB / 0.492 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.4639, allocations: 1.003 MB / 0.493 GB, free: 2.453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.4659, allocations: 1.43 MB / 0.4943 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/0.4696, allocations: 2.454 MB / 0.4967 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.4696, allocations: 4 kB / 0.4967 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006513/0.4761, allocations: 3.319 MB / 0.5 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.4762, allocations: 15.94 kB / 0.5 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/0.4762, allocations: 8 kB / 0.5 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.4784, allocations: 0.8879 MB / 0.5009 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.4799, allocations: 335.5 kB / 0.5012 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.4928, allocations: 10.43 MB / 0.5114 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.4951, allocations: 131.9 kB / 0.5115 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/0.4953, allocations: 71.98 kB / 0.5116 GB, free: 14.62 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.001864/0.4972, allocations: 0.9292 MB / 0.5125 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/0.4976, allocations: 218.6 kB / 0.5127 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005588/0.5032, allocations: 3.091 MB / 0.5157 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5032, allocations: 16 kB / 0.5157 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.5032, allocations: 8 kB / 0.5157 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.5033, allocations: 7.969 kB / 0.5157 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.5147, allocations: 6.198 MB / 0.5218 GB, free: 4.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5147, allocations: 4 kB / 0.5218 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009104/0.5156, allocations: 207.7 kB / 0.522 GB, free: 3.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002374/0.518, allocations: 0.9331 MB / 0.5229 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.5181, allocations: 43.92 kB / 0.523 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.5324, allocations: 12.03 MB / 0.5347 GB, free: 6.211 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5324, allocations: 8.062 kB / 0.5347 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007774/0.5402, allocations: 4.492 MB / 0.5391 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/0.5415, allocations: 0.5034 MB / 0.5396 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/0.5419, allocations: 36 kB / 0.5396 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.543, allocations: 103.9 kB / 0.5397 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/0.5435, allocations: 193.3 kB / 0.5399 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.5436, allocations: 47.98 kB / 0.54 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002079/0.5457, allocations: 1.267 MB / 0.5412 GB, free: 15.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5457, allocations: 0 / 0.5412 GB, free: 15.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002415/0.5481, allocations: 0.6444 MB / 0.5418 GB, free: 14.86 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.0004887/0.5486, allocations: 209.9 kB / 0.542 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00552/0.5541, allocations: 3.162 MB / 0.5451 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5541, allocations: 1.938 kB / 0.5451 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003832/0.558, allocations: 2.171 MB / 0.5472 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/0.5612, allocations: 0.5826 MB / 0.5478 GB, free: 8.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.5726, allocations: 5.773 MB / 0.5534 GB, free: 2.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/0.575, allocations: 2.196 MB / 0.5556 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001607/0.5766, allocations: 453.6 kB / 0.556 GB, free: 64 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.577, allocations: 131.4 kB / 0.5561 GB, free: 15.93 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.577, allocations: 4 kB / 0.5561 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Templates: time 0.06912/0.6462, allocations: 38.65 MB / 0.5939 GB, free: 9.613 MB / 0.4981 GB " [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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.558902697637677]