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.0009873/0.0009873, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004389/0.004389, allocations: 160 kB / 24.7 MB, free: 9.43 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.8507/0.8507, allocations: 177.1 MB / 205 MB, free: 5.73 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.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 1.292e-06/1.292e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.149e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.008388/0.00841, allocations: 9.166 MB / 335 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.01173, allocations: 3.12 MB / 338.1 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000421/0.01215, allocations: 75.5 kB / 338.2 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009438/0.0131, allocations: 0.6946 MB / 338.9 MB, free: 2.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.01426, allocations: 0.9547 MB / 339.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004367/0.01469, allocations: 431.3 kB / 340.3 MB, free: 0.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001935/0.01663, allocations: 3.539 MB / 343.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.01773, allocations: 1.377 MB / 345.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001514/0.01924, allocations: 2.253 MB / 347.4 MB, free: 9.672 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.02056, allocations: 1.672 MB / 349.1 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.02085, allocations: 396 kB / 349.5 MB, free: 7.609 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/0.02132, allocations: 495.8 kB / 350 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.02192, allocations: 1.149 MB / 351.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007662/0.02268, allocations: 1.224 MB / 352.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.02571, allocations: 5.321 MB / 357.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.02572, allocations: 4 kB / 357.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02572, allocations: 0 / 357.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.02575, allocations: 0 / 357.7 MB, free: 15.41 MB / 330.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.003499/0.02925, allocations: 3.518 MB / 361.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.02928, allocations: 8.031 kB / 361.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000585/0.02987, allocations: 402.7 kB / 361.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.03181, allocations: 1.882 MB / 363.5 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.03191, allocations: 201.4 kB / 363.7 MB, free: 9.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.03216, allocations: 252.3 kB / 363.9 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.0366, allocations: 3.639 MB / 367.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/0.03665, allocations: 11.89 kB / 367.6 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.03681, allocations: 108 kB / 367.7 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.03688, allocations: 108.9 kB / 367.8 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00313/0.04001, allocations: 3.087 MB / 370.9 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008809/0.04882, allocations: 9.434 MB / 380.3 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.05071, allocations: 2.047 MB / 382.4 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.05199, allocations: 1.298 MB / 383.7 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.05215, allocations: 49.28 kB / 383.7 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/0.05325, allocations: 1.248 MB / 385 MB, free: 3.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 2.775e-06/0.05325, allocations: 0 / 385 MB, free: 3.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=172): time 0.01093/0.06419, allocations: 8.447 MB / 393.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.06426, allocations: 184.1 kB / 393.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.0657, allocations: 1.716 MB / 395.3 MB, free: 9.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/0.06577, allocations: 57.7 kB / 395.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006057/0.06638, allocations: 1.225 MB / 396.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.06667, allocations: 0.5811 MB / 397.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.06701, allocations: 351.5 kB / 397.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.06708, allocations: 305.1 kB / 397.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.06807, allocations: 1.007 MB / 398.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.06928, allocations: 1.531 MB / 400.3 MB, free: 3.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.07139, allocations: 2.45 MB / 402.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.07139, allocations: 0 / 402.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003248/0.07464, allocations: 3.316 MB / 406.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.07467, allocations: 8 kB / 406.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.07468, allocations: 12 kB / 406.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.07584, allocations: 0.8725 MB / 407 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.07646, allocations: 335.5 kB / 407.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007031/0.0835, allocations: 9.94 MB / 417.3 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.08415, allocations: 131.8 kB / 417.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-05/0.08424, allocations: 67.98 kB / 417.5 MB, free: 2.297 MB / 378.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.0009895/0.08523, allocations: 0.937 MB / 418.4 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.08541, allocations: 202.7 kB / 418.6 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003091/0.0885, allocations: 3.083 MB / 421.7 MB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.08851, allocations: 20 kB / 421.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.08851, allocations: 8 kB / 421.7 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.08852, allocations: 7.969 kB / 421.7 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/0.09414, allocations: 5.56 MB / 427.3 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.09415, allocations: 4 kB / 427.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004495/0.0946, allocations: 207.7 kB / 427.5 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.0958, allocations: 0.9292 MB / 428.4 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.09587, allocations: 39.98 kB / 428.4 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007627/0.1035, allocations: 11.4 MB / 439.8 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1035, allocations: 4.031 kB / 439.9 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/0.1077, allocations: 4.484 MB / 444.3 MB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/0.1083, allocations: 422.5 kB / 444.7 MB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.1084, allocations: 35.98 kB / 444.8 MB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.1089, allocations: 104.3 kB / 444.9 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/0.1092, allocations: 204.8 kB / 445.1 MB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.1093, allocations: 47.98 kB / 445.1 MB, free: 6.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001063/0.1103, allocations: 1.158 MB / 446.3 MB, free: 4.852 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1103, allocations: 3.938 kB / 446.3 MB, free: 4.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00126/0.1116, allocations: 0.6328 MB / 446.9 MB, free: 4.215 MB / 410.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%), (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.0002887/0.1119, allocations: 216.4 kB / 447.1 MB, free: 4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.1149, allocations: 3.014 MB / 450.2 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1149, allocations: 0 / 450.2 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1366/0.2515, allocations: 2.044 MB / 452.2 MB, free: 115.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.2532, allocations: 0.511 MB / 452.7 MB, free: 115.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.2584, allocations: 5.619 MB / 458.3 MB, free: 114 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008812/0.2593, allocations: 1.589 MB / 459.9 MB, free: 113.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.2596, allocations: 142.1 kB / 460.1 MB, free: 113.8 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2596, allocations: 0 / 460.1 MB, free: 113.8 MB / 410.7 MB Notification: Performance of Templates: time 0.0433/0.3029, allocations: 103.6 MB / 0.5504 GB, free: 12.11 MB / 410.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=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: 9.956547795794904]