Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 163.9 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.428e-05/3.663e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01852/0.01856, allocations: 9.161 MB / 334.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.02913, allocations: 3.123 MB / 337.4 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.03187, allocations: 69.25 kB / 337.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003267/0.03514, allocations: 0.6969 MB / 338.1 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005013/0.04015, allocations: 0.9566 MB / 339.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.04201, allocations: 430.8 kB / 339.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007174/0.04918, allocations: 3.53 MB / 343 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00338/0.05256, allocations: 1.377 MB / 344.4 MB, free: 1.703 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005643/0.0582, allocations: 2.257 MB / 346.7 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/0.06267, allocations: 1.672 MB / 348.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.06384, allocations: 396 kB / 348.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.06564, allocations: 491.8 kB / 349.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.06739, allocations: 1.161 MB / 350.4 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00288/0.07027, allocations: 1.224 MB / 351.6 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009076/0.07934, allocations: 5.317 MB / 356.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.07935, allocations: 0 / 356.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.07935, allocations: 4 kB / 356.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001751/0.07953, allocations: 0 / 356.9 MB, free: 5.172 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.01185/0.09138, allocations: 3.515 MB / 360.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.09143, allocations: 8.031 kB / 360.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.09327, allocations: 406.7 kB / 360.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005986/0.09926, allocations: 1.882 MB / 362.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.09955, allocations: 193.5 kB / 362.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007568/0.1003, allocations: 260.3 kB / 363.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.111, allocations: 3.635 MB / 366.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.1111, allocations: 11.94 kB / 366.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003954/0.1115, allocations: 108 kB / 366.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.1117, allocations: 108.9 kB / 367 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009173/0.1208, allocations: 3.091 MB / 370.1 MB, free: 7.738 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02307/0.1439, allocations: 9.434 MB / 379.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.1477, allocations: 2.039 MB / 381.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/0.1501, allocations: 1.294 MB / 382.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.1503, allocations: 45.28 kB / 382.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002057/0.1524, allocations: 1.264 MB / 384.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=156): time 3.567e-06/0.1524, allocations: 0 / 384.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=172): time 0.02148/0.1739, allocations: 8.446 MB / 392.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.174, allocations: 180.2 kB / 392.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002869/0.1769, allocations: 1.713 MB / 394.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.1771, allocations: 57.7 kB / 394.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.1783, allocations: 1.229 MB / 395.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000546/0.1789, allocations: 0.5811 MB / 396.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005872/0.1794, allocations: 355.5 kB / 396.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1796, allocations: 301.1 kB / 397 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.1813, allocations: 1.003 MB / 398 MB, free: 11.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.1834, allocations: 1.535 MB / 399.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/0.1873, allocations: 2.45 MB / 402 MB, free: 7.078 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.1873, allocations: 4 kB / 402 MB, free: 7.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006255/0.1935, allocations: 3.311 MB / 405.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.1936, allocations: 8 kB / 405.3 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.1936, allocations: 12 kB / 405.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/0.196, allocations: 0.8795 MB / 406.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.1974, allocations: 339.4 kB / 406.6 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/0.2113, allocations: 9.933 MB / 416.5 MB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/0.2132, allocations: 135.9 kB / 416.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.2134, allocations: 71.98 kB / 416.7 MB, free: 8.055 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.001833/0.2152, allocations: 0.9292 MB / 417.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004565/0.2157, allocations: 206.7 kB / 417.8 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005901/0.2216, allocations: 3.075 MB / 420.9 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.2216, allocations: 16 kB / 420.9 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.2216, allocations: 11.94 kB / 420.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.2216, allocations: 11.97 kB / 420.9 MB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.2338, allocations: 5.556 MB / 426.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.2338, allocations: 4.281 kB / 426.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.2348, allocations: 215.7 kB / 426.7 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/0.2374, allocations: 0.9279 MB / 427.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/0.2376, allocations: 35.98 kB / 427.7 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/0.2521, allocations: 11.4 MB / 439.1 MB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2521, allocations: 3.938 kB / 439.1 MB, free: 1.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008273/0.2604, allocations: 4.488 MB / 443.6 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001394/0.2618, allocations: 418.5 kB / 444 MB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/0.262, allocations: 40 kB / 444 MB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.2631, allocations: 103.9 kB / 444.1 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005537/0.2636, allocations: 208.8 kB / 444.3 MB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.2637, allocations: 44.36 kB / 444.4 MB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001849/0.2656, allocations: 1.162 MB / 445.5 MB, free: 10.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2656, allocations: 0 / 445.5 MB, free: 10.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002103/0.2677, allocations: 0.6327 MB / 446.2 MB, free: 9.984 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.0004445/0.2681, allocations: 221.5 kB / 446.4 MB, free: 9.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005677/0.2738, allocations: 2.997 MB / 449.4 MB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.2738, allocations: 0 / 449.4 MB, free: 6.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003823/0.2776, allocations: 2.098 MB / 451.5 MB, free: 4.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.2803, allocations: 0.5149 MB / 452 MB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.2904, allocations: 5.614 MB / 457.6 MB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/0.2924, allocations: 1.63 MB / 459.2 MB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001381/0.2938, allocations: 436.5 kB / 459.7 MB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004217/0.2942, allocations: 124.5 kB / 459.8 MB, free: 12.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.472e-06/0.2942, allocations: 4 kB / 459.8 MB, free: 12.14 MB / 430.1 MB Notification: Performance of Templates: time 0.2533/0.5475, allocations: 37.62 MB / 497.4 MB, free: 115.9 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.797571770846844]