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.001417/0.001417, allocations: 99.64 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001612/0.001612, allocations: 214.1 kB / 24.48 MB, free: 3.93 MB / 14.72 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 1.62/1.62, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001645/0.001645, allocations: 47.94 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2457, allocations: 53.36 MB / 432.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01223/0.2579, allocations: 9.144 MB / 441.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006287/0.2642, allocations: 3.104 MB / 444.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.2655, allocations: 71.5 kB / 444.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.2673, allocations: 0.686 MB / 445.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002461/0.2698, allocations: 0.9361 MB / 446.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008731/0.2707, allocations: 427.5 kB / 446.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004228/0.2749, allocations: 3.412 MB / 450.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00232/0.2772, allocations: 1.373 MB / 451.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.2795, allocations: 1.569 MB / 453.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/0.2823, allocations: 1.841 MB / 454.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006028/0.2829, allocations: 400 kB / 455.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009617/0.2838, allocations: 499.8 kB / 455.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.2849, allocations: 1.114 MB / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001703/0.2866, allocations: 1.435 MB / 458.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005835/0.2925, allocations: 5.29 MB / 463.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2925, allocations: 0 / 463.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2925, allocations: 0 / 463.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001136/0.2926, allocations: 0 / 463.6 MB, free: 7.25 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.007691/0.3003, allocations: 3.55 MB / 467.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3003, allocations: 12.02 kB / 467.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.3015, allocations: 398.7 kB / 467.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004061/0.3056, allocations: 1.882 MB / 469.5 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3058, allocations: 205 kB / 469.7 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004558/0.3062, allocations: 256 kB / 469.9 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006601/0.3128, allocations: 3.634 MB / 473.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.971e-05/0.3129, allocations: 7.953 kB / 473.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.3131, allocations: 104 kB / 473.6 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001284/0.3133, allocations: 112.9 kB / 473.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.3195, allocations: 3.087 MB / 476.8 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01731/0.3368, allocations: 9.445 MB / 486.3 MB, free: 84 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.3401, allocations: 2.048 MB / 488.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002317/0.3424, allocations: 1.305 MB / 489.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.3426, allocations: 45.28 kB / 489.7 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001952/0.3446, allocations: 1.241 MB / 490.9 MB, free: 11.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.787e-06/0.3446, allocations: 0 / 490.9 MB, free: 11.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.0209/0.3655, allocations: 8.436 MB / 499.4 MB, free: 2.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.3656, allocations: 180.2 kB / 499.5 MB, free: 2.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.3683, allocations: 1.716 MB / 0.4895 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.3686, allocations: 61.69 kB / 0.4896 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.3697, allocations: 1.229 MB / 0.4908 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006161/0.3704, allocations: 0.5771 MB / 0.4913 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005842/0.3709, allocations: 351.5 kB / 0.4917 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3711, allocations: 309.1 kB / 0.492 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.3728, allocations: 1.003 MB / 0.4929 GB, free: 13.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/0.375, allocations: 1.538 MB / 0.4944 GB, free: 11.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003809/0.3788, allocations: 2.446 MB / 0.4968 GB, free: 9.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.3788, allocations: 4 kB / 0.4968 GB, free: 9.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006175/0.385, allocations: 3.316 MB / 0.5001 GB, free: 5.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.385, allocations: 11.94 kB / 0.5001 GB, free: 5.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.385, allocations: 12 kB / 0.5001 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/0.3872, allocations: 0.8729 MB / 0.5009 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.3885, allocations: 343.3 kB / 0.5013 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.4015, allocations: 9.951 MB / 0.511 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.4033, allocations: 131.8 kB / 0.5111 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.4034, allocations: 71.98 kB / 0.5112 GB, free: 10.07 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.001649/0.4051, allocations: 0.9254 MB / 0.5121 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004263/0.4055, allocations: 202.7 kB / 0.5123 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005777/0.4113, allocations: 3.079 MB / 0.5153 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.4113, allocations: 19.98 kB / 0.5153 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.4113, allocations: 11.94 kB / 0.5153 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.4114, allocations: 7.969 kB / 0.5153 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.4229, allocations: 5.556 MB / 0.5208 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.423, allocations: 4 kB / 0.5208 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009803/0.4239, allocations: 211.7 kB / 0.521 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002435/0.4264, allocations: 0.9293 MB / 0.5219 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001301/0.4265, allocations: 35.98 kB / 0.5219 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.4416, allocations: 11.41 MB / 0.533 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4416, allocations: 4.312 kB / 0.5331 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2298/0.6714, allocations: 4.484 MB / 0.5374 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.673, allocations: 425.2 kB / 0.5378 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.6732, allocations: 38.5 kB / 0.5379 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009925/0.6742, allocations: 106.5 kB / 0.538 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/0.6747, allocations: 198.7 kB / 0.5382 GB, free: 101 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.6748, allocations: 50.52 kB / 0.5382 GB, free: 101 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.6765, allocations: 1.156 MB / 0.5393 GB, free: 100.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6765, allocations: 0 / 0.5393 GB, free: 100.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002045/0.6785, allocations: 0.6386 MB / 0.54 GB, free: 100.9 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.0003744/0.6789, allocations: 204.1 kB / 0.5402 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004462/0.6833, allocations: 3.011 MB / 0.5431 GB, free: 99.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.355e-05/0.6834, allocations: 0.8125 kB / 0.5431 GB, free: 99.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.686, allocations: 2.053 MB / 0.5451 GB, free: 98.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.6882, allocations: 0.5182 MB / 0.5456 GB, free: 98.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.6958, allocations: 5.803 MB / 0.5513 GB, free: 94.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.6971, allocations: 1.6 MB / 0.5528 GB, free: 93.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.6977, allocations: 133.4 kB / 0.553 GB, free: 93.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6977, allocations: 0 / 0.553 GB, free: 93.62 MB / 446.1 MB Notification: Performance of Templates: time 0.08546/0.7831, allocations: 103.6 MB / 0.6541 GB, free: 6.953 MB / 462.1 MB " [Timeout remaining time 659] 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/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_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: 14.752250491641462]