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.001722/0.001722, allocations: 83.47 kB / 20.68 MB, free: 1.039 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.001558/0.001558, allocations: 157.5 kB / 23.95 MB, free: 4.168 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.488/1.488, allocations: 177 MB / 204.1 MB, free: 9.191 MB / 190.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 1.864e-06/1.864e-06, allocations: 0 / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.214e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01421/0.01424, allocations: 9.152 MB / 334.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.02641, allocations: 3.128 MB / 337.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.03, allocations: 67.72 kB / 337.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.03401, allocations: 0.6896 MB / 338.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005848/0.03986, allocations: 0.9692 MB / 339 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.04164, allocations: 434.4 kB / 339.5 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007503/0.04914, allocations: 3.545 MB / 343 MB, free: 3.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/0.05289, allocations: 1.381 MB / 344.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/0.0589, allocations: 2.277 MB / 346.7 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004174/0.06307, allocations: 1.664 MB / 348.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001414/0.06449, allocations: 396 kB / 348.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.06658, allocations: 495.8 kB / 349.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002048/0.06863, allocations: 1.153 MB / 350.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003525/0.07215, allocations: 1.22 MB / 351.6 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.08133, allocations: 5.325 MB / 356.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.08134, allocations: 0 / 356.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08134, allocations: 0 / 356.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001972/0.08153, allocations: 0 / 356.9 MB, free: 5.07 MB / 318.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.01157/0.09311, allocations: 3.522 MB / 360.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.09316, allocations: 8.031 kB / 360.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.09506, allocations: 410.7 kB / 360.8 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004912/0.09998, allocations: 1.878 MB / 362.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.1002, allocations: 193.5 kB / 362.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008694/0.1011, allocations: 256.3 kB / 363.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008938/0.11, allocations: 3.643 MB / 366.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.1102, allocations: 11.95 kB / 366.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/0.1107, allocations: 104 kB / 366.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.1108, allocations: 108.9 kB / 367 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/0.1177, allocations: 3.095 MB / 370.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.1384, allocations: 9.441 MB / 379.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.1423, allocations: 2.036 MB / 381.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/0.1449, allocations: 1.297 MB / 382.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/0.1452, allocations: 45.28 kB / 382.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002208/0.1474, allocations: 1.249 MB / 384.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=156): time 4.439e-06/0.1474, allocations: 0 / 384.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=172): time 0.02234/0.1697, allocations: 8.446 MB / 392.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/0.1699, allocations: 176.2 kB / 392.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003258/0.1731, allocations: 1.72 MB / 394.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.1733, allocations: 53.7 kB / 394.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.1747, allocations: 1.237 MB / 395.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000627/0.1753, allocations: 0.5772 MB / 396.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007029/0.176, allocations: 355.4 kB / 396.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1761, allocations: 305.1 kB / 397 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.1781, allocations: 0.9994 MB / 398 MB, free: 11.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.1804, allocations: 1.535 MB / 399.6 MB, free: 9.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.1846, allocations: 2.458 MB / 402 MB, free: 6.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/0.1846, allocations: 4 kB / 402 MB, free: 6.953 MB / 366.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00666/0.1912, allocations: 3.308 MB / 405.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.82e-05/0.1913, allocations: 8 kB / 405.3 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/0.1914, allocations: 12.53 kB / 405.3 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.1941, allocations: 0.8878 MB / 406.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.1961, allocations: 339.4 kB / 406.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01999/0.2161, allocations: 9.933 MB / 416.5 MB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/0.2189, allocations: 131.9 kB / 416.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004465/0.2193, allocations: 75.98 kB / 416.7 MB, free: 7.93 MB / 382.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.003187/0.2225, allocations: 0.9232 MB / 417.6 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000852/0.2234, allocations: 210.6 kB / 417.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00891/0.2323, allocations: 3.075 MB / 420.9 MB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.2323, allocations: 16 kB / 420.9 MB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.809e-05/0.2323, allocations: 12 kB / 420.9 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.2323, allocations: 7.969 kB / 420.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0168/0.2491, allocations: 5.56 MB / 426.5 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.2492, allocations: 12.28 kB / 426.5 MB, free: 14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.2504, allocations: 207.6 kB / 426.7 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002485/0.2529, allocations: 0.9173 MB / 427.6 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.2531, allocations: 43.98 kB / 427.7 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/0.2673, allocations: 11.41 MB / 439.1 MB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.2673, allocations: 3.938 kB / 439.1 MB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008294/0.2756, allocations: 4.488 MB / 443.6 MB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.2769, allocations: 418.5 kB / 444 MB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005036/0.2774, allocations: 43.98 kB / 444 MB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.2786, allocations: 99.89 kB / 444.1 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005616/0.2792, allocations: 208.8 kB / 444.3 MB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.2793, allocations: 47.98 kB / 444.4 MB, free: 11.65 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00216/0.2815, allocations: 1.158 MB / 445.5 MB, free: 10.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2815, allocations: 0 / 445.5 MB, free: 10.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002251/0.2837, allocations: 0.6367 MB / 446.2 MB, free: 9.859 MB / 414.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.0004616/0.2842, allocations: 213.9 kB / 446.4 MB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005518/0.2897, allocations: 2.993 MB / 449.4 MB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2897, allocations: 1.938 kB / 449.4 MB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.2934, allocations: 2.092 MB / 451.5 MB, free: 4.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.2964, allocations: 0.522 MB / 452 MB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.3066, allocations: 5.61 MB / 457.6 MB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/0.309, allocations: 1.63 MB / 459.2 MB, free: 12.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00139/0.3104, allocations: 432.5 kB / 459.6 MB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.3109, allocations: 132.5 kB / 459.8 MB, free: 12.03 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3109, allocations: 0 / 459.8 MB, free: 12.03 MB / 430.1 MB Notification: Performance of Templates: time 0.2791/0.59, allocations: 37.6 MB / 497.4 MB, free: 116.3 MB / 430.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.028310142457485]