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.001831/0.001831, allocations: 114.7 kB / 19.18 MB, free: 3.926 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.001566/0.001566, allocations: 210.6 kB / 22.13 MB, free: 0.9805 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.445/1.445, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.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 0.001902/0.001902, allocations: 67.89 kB / 374.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1101, allocations: 53.32 MB / 427.8 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.2526/0.3626, allocations: 10.37 MB / 438.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007007/0.3696, allocations: 3.301 MB / 441.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.3721, allocations: 57.75 kB / 441.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002356/0.3745, allocations: 0.7382 MB / 442.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003681/0.3781, allocations: 0.9144 MB / 443.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.3796, allocations: 422.4 kB / 443.6 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.3852, allocations: 3.435 MB / 447.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003639/0.3888, allocations: 1.88 MB / 449 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0036/0.3924, allocations: 1.542 MB / 450.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004852/0.3973, allocations: 1.904 MB / 452.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001656/0.3989, allocations: 401.2 kB / 452.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.4015, allocations: 498.9 kB / 453.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00184/0.4033, allocations: 1.115 MB / 454.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003938/0.4073, allocations: 1.778 MB / 456.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007828/0.4151, allocations: 5.253 MB / 461.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.4151, allocations: 4 kB / 461.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4151, allocations: 0 / 461.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000161/0.4152, allocations: 0 / 461.4 MB, free: 10.11 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.009191/0.4244, allocations: 3.62 MB / 465.1 MB, free: 7.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.4245, allocations: 9.344 kB / 465.1 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001421/0.4259, allocations: 401.9 kB / 465.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004336/0.4302, allocations: 1.951 MB / 467.4 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.4304, allocations: 200.1 kB / 467.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004876/0.4309, allocations: 259.8 kB / 467.9 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006755/0.4377, allocations: 3.538 MB / 471.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.895e-05/0.4377, allocations: 16.38 kB / 471.4 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002517/0.438, allocations: 101.1 kB / 471.5 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.4381, allocations: 114 kB / 471.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006175/0.4443, allocations: 3.089 MB / 474.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.4655, allocations: 10.76 MB / 485.5 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.4693, allocations: 2.968 MB / 488.4 MB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.4716, allocations: 1.297 MB / 489.7 MB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.4718, allocations: 126.4 kB / 489.9 MB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.4737, allocations: 1.157 MB / 491 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.377e-06/0.4737, allocations: 3.938 kB / 491 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02138/0.4951, allocations: 8.9 MB / 499.9 MB, free: 7.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.4952, allocations: 180.2 kB / 0.4884 GB, free: 7.699 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.4984, allocations: 1.848 MB / 0.4902 GB, free: 5.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.4987, allocations: 57.7 kB / 0.4902 GB, free: 5.789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.5, allocations: 1.226 MB / 0.4914 GB, free: 4.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007114/0.5007, allocations: 0.5888 MB / 0.492 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006291/0.5014, allocations: 351.5 kB / 0.4923 GB, free: 3.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5015, allocations: 305.1 kB / 0.4926 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.5033, allocations: 1.003 MB / 0.4936 GB, free: 2.301 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.5053, allocations: 1.434 MB / 0.495 GB, free: 0.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.5091, allocations: 2.457 MB / 0.4974 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.5091, allocations: 4 kB / 0.4974 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00636/0.5155, allocations: 3.319 MB / 0.5007 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.5155, allocations: 11.98 kB / 0.5007 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.5156, allocations: 12 kB / 0.5007 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/0.5177, allocations: 0.8887 MB / 0.5016 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/0.5191, allocations: 331.5 kB / 0.5019 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.5325, allocations: 10.43 MB / 0.5121 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.5347, allocations: 135.9 kB / 0.5122 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.5349, allocations: 64 kB / 0.5122 GB, free: 14.46 MB / 430.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.001829/0.5367, allocations: 0.9261 MB / 0.5131 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005052/0.5372, allocations: 222.6 kB / 0.5134 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.5429, allocations: 3.089 MB / 0.5164 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.5429, allocations: 16 kB / 0.5164 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.5429, allocations: 12 kB / 0.5164 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.543, allocations: 11.97 kB / 0.5164 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.5598, allocations: 6.194 MB / 0.5225 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.5598, allocations: 4.281 kB / 0.5225 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.5613, allocations: 207.7 kB / 0.5227 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/0.5649, allocations: 0.9437 MB / 0.5236 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/0.5652, allocations: 43.92 kB / 0.5236 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/0.5906, allocations: 12.02 MB / 0.5354 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/0.5906, allocations: 4.031 kB / 0.5354 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01534/0.6059, allocations: 4.496 MB / 0.5398 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/0.6087, allocations: 0.5034 MB / 0.5403 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008114/0.6095, allocations: 39.98 kB / 0.5403 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/0.6118, allocations: 95.89 kB / 0.5404 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008853/0.6127, allocations: 205.3 kB / 0.5406 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/0.6129, allocations: 47.98 kB / 0.5406 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00382/0.6167, allocations: 1.263 MB / 0.5419 GB, free: 15.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6167, allocations: 0 / 0.5419 GB, free: 15.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00432/0.6211, allocations: 0.6405 MB / 0.5425 GB, free: 14.71 MB / 462.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.0008527/0.6219, allocations: 214.4 kB / 0.5427 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009819/0.6317, allocations: 3.159 MB / 0.5458 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.6317, allocations: 0 / 0.5458 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006772/0.6385, allocations: 2.125 MB / 0.5478 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/0.6439, allocations: 0.5779 MB / 0.5484 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/0.6617, allocations: 5.801 MB / 0.5541 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.664, allocations: 2.157 MB / 0.5562 GB, free: 432 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007499/0.6648, allocations: 139.4 kB / 0.5563 GB, free: 292 kB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6648, allocations: 4 kB / 0.5563 GB, free: 288 kB / 462.1 MB Notification: Performance of Templates: time 0.2966/0.9614, allocations: 103.7 MB / 0.6575 GB, free: 152.3 MB / 0.5137 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/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: 14.933045283076353]