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.0009471/0.0009471, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001068/0.001068, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9658/0.9658, allocations: 177.1 MB / 206 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.593e-06/1.593e-06, allocations: 0 / 274.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.02e-05, allocations: 2.312 kB / 274.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.00864/0.00866, allocations: 9.995 MB / 284.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005278/0.01394, allocations: 3.223 MB / 287.4 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009602/0.0149, allocations: 71.56 kB / 287.5 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.01633, allocations: 0.6946 MB / 288.2 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.01872, allocations: 0.9662 MB / 289.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.0196, allocations: 439.2 kB / 289.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.02323, allocations: 3.532 MB / 293.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.02503, allocations: 1.381 MB / 294.5 MB, free: 104 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003813/0.02884, allocations: 2.433 MB / 296.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.03157, allocations: 1.734 MB / 298.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008686/0.03244, allocations: 388 kB / 299 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008529/0.03329, allocations: 487.7 kB / 299.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007622/0.03405, allocations: 1.133 MB / 300.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.03572, allocations: 1.216 MB / 301.9 MB, free: 8.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003255/0.03897, allocations: 2.92 MB / 304.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.03898, allocations: 0 / 304.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.03898, allocations: 0 / 304.8 MB, free: 5.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.03908, allocations: 0 / 304.8 MB, free: 5.785 MB / 282.7 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.00417/0.04325, allocations: 3.597 MB / 308.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.04329, allocations: 11.98 kB / 308.4 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008913/0.04419, allocations: 0.5963 MB / 309 MB, free: 1.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.04603, allocations: 1.673 MB / 310.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.04615, allocations: 197.3 kB / 310.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/0.04639, allocations: 264.3 kB / 311.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.04883, allocations: 1.973 MB / 313.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.124e-05/0.04888, allocations: 7.891 kB / 313.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.04904, allocations: 108 kB / 313.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.296e-05/0.04913, allocations: 112.9 kB / 313.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.05026, allocations: 0.7593 MB / 314.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00932/0.05958, allocations: 8.854 MB / 322.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.06085, allocations: 1.119 MB / 324 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/0.06156, allocations: 0.5661 MB / 324.6 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.06173, allocations: 49.3 kB / 324.7 MB, free: 1.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006768/0.0624, allocations: 0.686 MB / 325.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of pre-optimization done (n=156): time 4.498e-06/0.06241, allocations: 4 kB / 325.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of matching and sorting (n=172): time 0.008154/0.07056, allocations: 3.927 MB / 329.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.07064, allocations: 172.2 kB / 329.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.07198, allocations: 1.486 MB / 330.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.07206, allocations: 53.7 kB / 331 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007845/0.07284, allocations: 1.327 MB / 332.3 MB, free: 9.512 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/0.07344, allocations: 0.5966 MB / 332.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/0.07381, allocations: 376.9 kB / 333.3 MB, free: 8.531 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.0739, allocations: 480.8 kB / 333.7 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.07421, allocations: 223.8 kB / 334 MB, free: 7.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.0748, allocations: 0.9196 MB / 334.9 MB, free: 6.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009667/0.07577, allocations: 1.148 MB / 336 MB, free: 5.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.07577, allocations: 4 kB / 336 MB, free: 5.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.001978/0.07775, allocations: 1.592 MB / 337.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.07777, allocations: 8 kB / 337.6 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.07779, allocations: 12 kB / 337.6 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009915/0.07878, allocations: 475.1 kB / 338.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.07941, allocations: 311.5 kB / 338.4 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005395/0.08481, allocations: 7.767 MB / 346.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/0.08585, allocations: 91.91 kB / 346.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.419e-05/0.08594, allocations: 64.02 kB / 346.3 MB, free: 10.63 MB / 330.7 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.0006986/0.08664, allocations: 282.7 kB / 346.6 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.08702, allocations: 262.7 kB / 346.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.08888, allocations: 1.391 MB / 348.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.08889, allocations: 16 kB / 348.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.0889, allocations: 12 kB / 348.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.08891, allocations: 7.969 kB / 348.3 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/0.09345, allocations: 3.233 MB / 351.5 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.09346, allocations: 4 kB / 351.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.09394, allocations: 183.7 kB / 351.7 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.09508, allocations: 0.5253 MB / 352.2 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.09516, allocations: 47.91 kB / 352.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1241/0.2193, allocations: 9.421 MB / 361.7 MB, free: 71.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2193, allocations: 2.969 kB / 361.7 MB, free: 71.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/0.2222, allocations: 1.924 MB / 363.6 MB, free: 71.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005762/0.2228, allocations: 349.1 kB / 364 MB, free: 71.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.223, allocations: 39.58 kB / 364 MB, free: 71.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.2235, allocations: 67.77 kB / 364.1 MB, free: 71.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.2238, allocations: 156.8 kB / 364.2 MB, free: 71.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.741e-05/0.2238, allocations: 33.92 kB / 364.3 MB, free: 71.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000698/0.2245, allocations: 0.7818 MB / 365 MB, free: 71.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2245, allocations: 2.25 kB / 365 MB, free: 71.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001485/0.226, allocations: 0.6279 MB / 365.7 MB, free: 71.28 MB / 330.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/0.2263, allocations: 210.6 kB / 365.9 MB, free: 71.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.228, allocations: 1.808 MB / 367.7 MB, free: 70.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.228, allocations: 0 / 367.7 MB, free: 70.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.2291, allocations: 1.519 MB / 369.2 MB, free: 69.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.2303, allocations: 0.5447 MB / 369.7 MB, free: 69.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.2358, allocations: 4.692 MB / 374.4 MB, free: 67.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/0.2364, allocations: 0.7485 MB / 375.2 MB, free: 67.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007385/0.2371, allocations: 239.1 kB / 375.4 MB, free: 67.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008378/0.238, allocations: 0.5566 MB / 376 MB, free: 67.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.238, allocations: 0 / 376 MB, free: 67.53 MB / 330.7 MB Notification: Performance of Templates: time 0.04263/0.2806, allocations: 40.2 MB / 416.2 MB, free: 30.53 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.921724972780794]