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.001386/0.001386, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001511/0.001511, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.538/1.538, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.001984/0.001984, allocations: 71.88 kB / 379 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.262, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01292/0.2749, allocations: 9.134 MB / 441.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007197/0.2821, allocations: 3.116 MB / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.2837, allocations: 75.5 kB / 444.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.2858, allocations: 0.6792 MB / 445.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.2892, allocations: 0.9438 MB / 446.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.2903, allocations: 419.5 kB / 446.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004647/0.2949, allocations: 3.439 MB / 450.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.2971, allocations: 1.373 MB / 451.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.2997, allocations: 1.589 MB / 453.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/0.303, allocations: 1.837 MB / 455 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007878/0.3038, allocations: 396 kB / 455.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.305, allocations: 495.8 kB / 455.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.3062, allocations: 1.126 MB / 457 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002189/0.3084, allocations: 1.439 MB / 458.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006688/0.3151, allocations: 5.275 MB / 463.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3151, allocations: 0 / 463.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3151, allocations: 0 / 463.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001595/0.3153, allocations: 0 / 463.7 MB, free: 7.047 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.00946/0.3247, allocations: 3.558 MB / 467.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3248, allocations: 8.031 kB / 467.3 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.326, allocations: 402.7 kB / 467.7 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.3305, allocations: 1.879 MB / 469.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.3308, allocations: 205 kB / 469.8 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006226/0.3314, allocations: 256 kB / 470 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.3423, allocations: 3.628 MB / 473.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.3424, allocations: 15.88 kB / 473.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004313/0.3428, allocations: 104 kB / 473.7 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002243/0.343, allocations: 108.9 kB / 473.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00922/0.3523, allocations: 3.091 MB / 476.9 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03179/0.384, allocations: 9.445 MB / 486.4 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006073/0.3901, allocations: 2.039 MB / 488.4 MB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004254/0.3944, allocations: 1.305 MB / 489.7 MB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/0.3947, allocations: 45.28 kB / 489.8 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003432/0.3982, allocations: 1.245 MB / 491 MB, free: 11.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 7.283e-06/0.3982, allocations: 0 / 491 MB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.03895/0.4371, allocations: 8.452 MB / 499.5 MB, free: 2.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000192/0.4373, allocations: 172.2 kB / 499.6 MB, free: 2.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004892/0.4422, allocations: 1.72 MB / 0.4896 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003338/0.4425, allocations: 57.7 kB / 0.4897 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.4438, allocations: 1.225 MB / 0.4909 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/0.4445, allocations: 0.5849 MB / 0.4914 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006488/0.4451, allocations: 351.5 kB / 0.4918 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4453, allocations: 305.1 kB / 0.4921 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/0.4471, allocations: 1.003 MB / 0.493 GB, free: 13.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.4493, allocations: 1.534 MB / 0.4945 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.4533, allocations: 2.454 MB / 0.4969 GB, free: 8.902 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.4533, allocations: 7.938 kB / 0.4969 GB, free: 8.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006602/0.4599, allocations: 3.308 MB / 0.5002 GB, free: 5.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.4599, allocations: 12 kB / 0.5002 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.46, allocations: 8 kB / 0.5002 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4622, allocations: 0.8848 MB / 0.5011 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.4635, allocations: 331.5 kB / 0.5014 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.4768, allocations: 9.955 MB / 0.5111 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.4786, allocations: 139.7 kB / 0.5112 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.4788, allocations: 68 kB / 0.5113 GB, free: 9.863 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.001868/0.4807, allocations: 0.9215 MB / 0.5122 GB, free: 8.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005502/0.4813, allocations: 198.7 kB / 0.5124 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005813/0.4871, allocations: 3.079 MB / 0.5154 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.4871, allocations: 19.94 kB / 0.5154 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.4871, allocations: 8 kB / 0.5154 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.4871, allocations: 7.969 kB / 0.5154 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.4986, allocations: 5.56 MB / 0.5209 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.4986, allocations: 0 / 0.5209 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009283/0.4996, allocations: 211.7 kB / 0.5211 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.5019, allocations: 0.9254 MB / 0.522 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.5021, allocations: 35.98 kB / 0.522 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.5167, allocations: 11.42 MB / 0.5331 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5167, allocations: 4 kB / 0.5331 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2054/0.7221, allocations: 4.479 MB / 0.5375 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.7236, allocations: 430.9 kB / 0.5379 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002807/0.7238, allocations: 43.16 kB / 0.538 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009938/0.7248, allocations: 103.6 kB / 0.5381 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004799/0.7253, allocations: 196 kB / 0.5383 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7254, allocations: 51.52 kB / 0.5383 GB, free: 100.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001645/0.7271, allocations: 1.163 MB / 0.5394 GB, free: 100 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7271, allocations: 1.062 kB / 0.5394 GB, free: 100 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001906/0.729, allocations: 0.6315 MB / 0.5401 GB, free: 100 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.0003798/0.7294, allocations: 211.7 kB / 0.5403 GB, free: 99.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004553/0.7339, allocations: 3.008 MB / 0.5432 GB, free: 98.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7339, allocations: 3.188 kB / 0.5432 GB, free: 98.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002562/0.7365, allocations: 2.052 MB / 0.5452 GB, free: 97.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.7385, allocations: 0.5236 MB / 0.5457 GB, free: 97.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.7455, allocations: 5.784 MB / 0.5514 GB, free: 94.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.7468, allocations: 1.606 MB / 0.5529 GB, free: 93.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/0.7473, allocations: 133.4 kB / 0.5531 GB, free: 93.32 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7473, allocations: 0 / 0.5531 GB, free: 93.32 MB / 446.1 MB Notification: Performance of Templates: time 0.08077/0.828, allocations: 103.6 MB / 0.6542 GB, free: 6.531 MB / 462.1 MB " [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.621255468111485]