Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 187.5 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 47.92 kB / 371.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2427, allocations: 52.18 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01206/0.2547, allocations: 9.095 MB / 432.9 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006198/0.2609, allocations: 3.053 MB / 436 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.2621, allocations: 67.56 kB / 436 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.2638, allocations: 0.687 MB / 436.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.2663, allocations: 0.9361 MB / 437.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008759/0.2671, allocations: 411.5 kB / 438.1 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004013/0.2711, allocations: 3.393 MB / 441.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.2732, allocations: 1.373 MB / 442.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.2756, allocations: 1.558 MB / 444.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.2787, allocations: 1.841 MB / 446.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007451/0.2795, allocations: 400 kB / 446.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.2806, allocations: 479.9 kB / 447.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.2817, allocations: 1.122 MB / 448.2 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.2835, allocations: 1.435 MB / 449.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005782/0.2893, allocations: 5.259 MB / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2893, allocations: 0 / 454.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.2893, allocations: 4 kB / 454.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.2894, allocations: 0 / 454.9 MB, free: 15.22 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.007736/0.2972, allocations: 3.519 MB / 458.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2972, allocations: 12.03 kB / 458.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008683/0.2981, allocations: 374.8 kB / 458.8 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00388/0.302, allocations: 1.866 MB / 460.7 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3021, allocations: 201.2 kB / 460.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004205/0.3026, allocations: 248 kB / 461.1 MB, free: 8.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006357/0.3089, allocations: 3.636 MB / 464.8 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.296e-05/0.309, allocations: 11.95 kB / 464.8 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000247/0.3092, allocations: 108 kB / 464.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001309/0.3094, allocations: 112.9 kB / 465 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005735/0.3151, allocations: 3.084 MB / 468.1 MB, free: 1.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.3328, allocations: 9.441 MB / 477.5 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.3361, allocations: 2.051 MB / 479.6 MB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.3383, allocations: 1.289 MB / 480.8 MB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.3386, allocations: 57.28 kB / 480.9 MB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/0.3404, allocations: 1.245 MB / 482.1 MB, free: 3.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.727e-06/0.3404, allocations: 3.938 kB / 482.2 MB, free: 3.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02039/0.3608, allocations: 8.437 MB / 490.6 MB, free: 10.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.361, allocations: 184.2 kB / 490.8 MB, free: 10.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002656/0.3636, allocations: 1.704 MB / 492.5 MB, free: 9.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002118/0.3638, allocations: 57.7 kB / 492.5 MB, free: 8.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.365, allocations: 1.217 MB / 493.7 MB, free: 7.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000587/0.3656, allocations: 0.5889 MB / 494.3 MB, free: 7.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005683/0.3662, allocations: 359.4 kB / 494.7 MB, free: 6.797 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.3663, allocations: 305.1 kB / 495 MB, free: 6.496 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.368, allocations: 1.003 MB / 496 MB, free: 5.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.37, allocations: 1.534 MB / 497.5 MB, free: 3.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.3738, allocations: 2.45 MB / 500 MB, free: 1.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.3738, allocations: 8 kB / 500 MB, free: 1.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006084/0.3799, allocations: 3.304 MB / 0.4915 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.3799, allocations: 8 kB / 0.4915 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.38, allocations: 16.03 kB / 0.4915 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002122/0.3821, allocations: 0.8781 MB / 0.4924 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.3834, allocations: 339.4 kB / 0.4927 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.3966, allocations: 9.937 MB / 0.5024 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.3985, allocations: 143.8 kB / 0.5025 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.3987, allocations: 71.98 kB / 0.5026 GB, free: 2.148 MB / 414.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.001687/0.4003, allocations: 0.9175 MB / 0.5035 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/0.4008, allocations: 206.7 kB / 0.5037 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/0.4067, allocations: 3.067 MB / 0.5067 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.4067, allocations: 19.98 kB / 0.5067 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/0.4067, allocations: 11.94 kB / 0.5067 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.4067, allocations: 11.91 kB / 0.5067 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.4182, allocations: 5.548 MB / 0.5121 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.4182, allocations: 4 kB / 0.5122 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009656/0.4192, allocations: 212 kB / 0.5124 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/0.4216, allocations: 0.929 MB / 0.5133 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001387/0.4217, allocations: 43.97 kB / 0.5133 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0152/0.4369, allocations: 11.41 MB / 0.5244 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.4369, allocations: 7.969 kB / 0.5245 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008139/0.4451, allocations: 4.492 MB / 0.5288 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.4465, allocations: 418.9 kB / 0.5292 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.4469, allocations: 39.98 kB / 0.5293 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.4479, allocations: 107.8 kB / 0.5294 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005028/0.4484, allocations: 204.9 kB / 0.5296 GB, free: 5.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.4485, allocations: 47.92 kB / 0.5296 GB, free: 5.848 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00211/0.4506, allocations: 1.146 MB / 0.5307 GB, free: 4.707 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4506, allocations: 0 / 0.5307 GB, free: 4.707 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002473/0.4531, allocations: 0.6367 MB / 0.5314 GB, free: 4.07 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.0004678/0.4536, allocations: 213 kB / 0.5316 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005532/0.4591, allocations: 2.997 MB / 0.5345 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.4591, allocations: 3.938 kB / 0.5345 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2033/0.6624, allocations: 2.04 MB / 0.5365 GB, free: 109.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.6652, allocations: 0.5066 MB / 0.537 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/0.6743, allocations: 5.801 MB / 0.5427 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001505/0.6758, allocations: 1.599 MB / 0.5442 GB, free: 107.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.6764, allocations: 131.6 kB / 0.5443 GB, free: 107.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6764, allocations: 0 / 0.5443 GB, free: 107.1 MB / 446.1 MB Notification: Performance of Templates: time 0.07876/0.7552, allocations: 103.1 MB / 0.645 GB, free: 6.973 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.310831328853965]