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.001651/0.001651, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001929/0.001929, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.002229/0.002229, allocations: 59.91 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3233, allocations: 53.4 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01335/0.3367, allocations: 9.144 MB / 440.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007287/0.344, allocations: 3.116 MB / 443.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.3462, allocations: 67.56 kB / 444 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002554/0.3487, allocations: 0.6895 MB / 444.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003564/0.3523, allocations: 0.9322 MB / 445.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.3539, allocations: 419.5 kB / 446 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00481/0.3587, allocations: 3.443 MB / 449.4 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.3607, allocations: 1.373 MB / 450.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002307/0.363, allocations: 1.577 MB / 452.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.3659, allocations: 1.841 MB / 454.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006602/0.3666, allocations: 396 kB / 454.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3677, allocations: 0.492 MB / 455.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.3688, allocations: 1.118 MB / 456.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.3706, allocations: 1.439 MB / 457.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.377, allocations: 5.282 MB / 463 MB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.377, allocations: 0 / 463 MB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.377, allocations: 0 / 463 MB, free: 7.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.3771, allocations: 4 kB / 463 MB, free: 7.043 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.007568/0.3847, allocations: 3.55 MB / 466.5 MB, free: 3.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3847, allocations: 12.03 kB / 466.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.3858, allocations: 398.7 kB / 466.9 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.3896, allocations: 1.89 MB / 468.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.3898, allocations: 205 kB / 469 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.3903, allocations: 256 kB / 469.3 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006119/0.3964, allocations: 3.628 MB / 472.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/0.3965, allocations: 11.94 kB / 472.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.3967, allocations: 107.9 kB / 473 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/0.3968, allocations: 108.9 kB / 473.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005522/0.4024, allocations: 3.091 MB / 476.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.4203, allocations: 9.445 MB / 485.6 MB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003287/0.4236, allocations: 2.039 MB / 487.7 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.426, allocations: 1.298 MB / 489 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.4262, allocations: 49.28 kB / 489 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001957/0.4282, allocations: 1.245 MB / 490.3 MB, free: 11.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 4.278e-06/0.4282, allocations: 0 / 490.3 MB, free: 11.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.02111/0.4493, allocations: 8.443 MB / 498.7 MB, free: 2.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.4494, allocations: 180.2 kB / 498.9 MB, free: 2.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003516/0.4529, allocations: 1.72 MB / 0.4889 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.4531, allocations: 57.7 kB / 0.4889 GB, free: 0.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/0.4545, allocations: 1.225 MB / 0.4901 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006369/0.4551, allocations: 0.5849 MB / 0.4907 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006877/0.4558, allocations: 351.5 kB / 0.491 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.456, allocations: 309.1 kB / 0.4913 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.4578, allocations: 0.9955 MB / 0.4923 GB, free: 13.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/0.46, allocations: 1.542 MB / 0.4938 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004317/0.4643, allocations: 2.45 MB / 0.4962 GB, free: 8.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/0.4643, allocations: 4 kB / 0.4962 GB, free: 8.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006733/0.471, allocations: 3.308 MB / 0.4994 GB, free: 5.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.4711, allocations: 12.03 kB / 0.4994 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.689e-05/0.4711, allocations: 12 kB / 0.4995 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.4734, allocations: 0.8767 MB / 0.5003 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4747, allocations: 339.4 kB / 0.5006 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01388/0.4886, allocations: 9.947 MB / 0.5104 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.4905, allocations: 139.8 kB / 0.5105 GB, free: 9.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/0.4909, allocations: 68 kB / 0.5105 GB, free: 9.867 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.002028/0.4929, allocations: 0.9176 MB / 0.5114 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/0.4935, allocations: 206.7 kB / 0.5116 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/0.4995, allocations: 3.075 MB / 0.5146 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.4996, allocations: 19.94 kB / 0.5147 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.4996, allocations: 8 kB / 0.5147 GB, free: 5.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.4996, allocations: 11.91 kB / 0.5147 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.5116, allocations: 5.56 MB / 0.5201 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5116, allocations: 4 kB / 0.5201 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009591/0.5125, allocations: 215.6 kB / 0.5203 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/0.5149, allocations: 0.9215 MB / 0.5212 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.5151, allocations: 39.97 kB / 0.5213 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/0.5295, allocations: 11.41 MB / 0.5324 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5295, allocations: 3.938 kB / 0.5324 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2392/0.7687, allocations: 4.485 MB / 0.5368 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.7702, allocations: 428.2 kB / 0.5372 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.7705, allocations: 39.19 kB / 0.5372 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.7716, allocations: 97.91 kB / 0.5373 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005123/0.7721, allocations: 205.6 kB / 0.5375 GB, free: 100.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.7722, allocations: 44.78 kB / 0.5376 GB, free: 100.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00174/0.7739, allocations: 1.161 MB / 0.5387 GB, free: 99.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7739, allocations: 0 / 0.5387 GB, free: 99.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002379/0.7763, allocations: 0.6363 MB / 0.5393 GB, free: 99.96 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.0004173/0.7767, allocations: 214.5 kB / 0.5395 GB, free: 99.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004703/0.7814, allocations: 3.006 MB / 0.5425 GB, free: 98.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7814, allocations: 4.969 kB / 0.5425 GB, free: 98.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002824/0.7843, allocations: 2.096 MB / 0.5445 GB, free: 97.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.7865, allocations: 0.5167 MB / 0.545 GB, free: 97.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/0.7945, allocations: 5.782 MB / 0.5507 GB, free: 94.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.7959, allocations: 1.638 MB / 0.5523 GB, free: 93.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001218/0.7971, allocations: 438.7 kB / 0.5527 GB, free: 93.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.7975, allocations: 123.1 kB / 0.5528 GB, free: 92.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7975, allocations: 0 / 0.5528 GB, free: 92.95 MB / 446.1 MB Notification: Performance of Templates: time 0.05233/0.8498, allocations: 41.01 MB / 0.5928 GB, free: 53.11 MB / 446.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/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: 9.016790995374322]