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.001834/0.001834, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002248/0.002248, allocations: 208.7 kB / 24.49 MB, free: 3.965 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.001542/0.001542, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2138, allocations: 53.36 MB / 432.4 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01154/0.2253, allocations: 9.144 MB / 441.5 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005726/0.2311, allocations: 3.104 MB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.2318, allocations: 67.56 kB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.2333, allocations: 0.686 MB / 445.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.2353, allocations: 0.9361 MB / 446.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.236, allocations: 431.3 kB / 446.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003371/0.2394, allocations: 3.413 MB / 450.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001881/0.2413, allocations: 1.42 MB / 451.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.243, allocations: 1.565 MB / 453.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.2452, allocations: 1.911 MB / 455 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005306/0.2457, allocations: 396 kB / 455.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008534/0.2466, allocations: 499.7 kB / 455.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.2477, allocations: 1.122 MB / 457 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.2492, allocations: 1.435 MB / 458.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.2543, allocations: 5.275 MB / 463.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2543, allocations: 4 kB / 463.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2543, allocations: 3.938 kB / 463.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.133e-05/0.2544, allocations: 0 / 463.7 MB, free: 7.191 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.006686/0.2611, allocations: 3.554 MB / 467.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2611, allocations: 12.03 kB / 467.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.2623, allocations: 402.7 kB / 467.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003834/0.2661, allocations: 1.882 MB / 469.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.2663, allocations: 197 kB / 469.8 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004357/0.2668, allocations: 260 kB / 470 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006342/0.2731, allocations: 3.628 MB / 473.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.906e-05/0.2732, allocations: 15.89 kB / 473.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.2734, allocations: 108 kB / 473.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/0.2736, allocations: 112.9 kB / 473.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005569/0.2791, allocations: 3.084 MB / 477 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.2958, allocations: 9.441 MB / 486.4 MB, free: 20 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.2991, allocations: 2.047 MB / 488.5 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.3014, allocations: 1.29 MB / 489.7 MB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.3016, allocations: 49.28 kB / 489.8 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001939/0.3036, allocations: 1.252 MB / 491 MB, free: 11.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.727e-06/0.3036, allocations: 4 kB / 491 MB, free: 11.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.02017/0.3237, allocations: 8.432 MB / 499.5 MB, free: 2.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.3238, allocations: 180.2 kB / 499.7 MB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.3263, allocations: 1.716 MB / 0.4896 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.3264, allocations: 57.7 kB / 0.4897 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.3275, allocations: 1.225 MB / 0.4909 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005348/0.328, allocations: 0.5849 MB / 0.4914 GB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005931/0.3286, allocations: 355.5 kB / 0.4918 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3287, allocations: 305.1 kB / 0.4921 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.3304, allocations: 0.9955 MB / 0.493 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.3325, allocations: 1.538 MB / 0.4946 GB, free: 11.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/0.3362, allocations: 2.454 MB / 0.4969 GB, free: 9.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.3363, allocations: 4 kB / 0.497 GB, free: 9.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005873/0.3421, allocations: 3.307 MB / 0.5002 GB, free: 5.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.3422, allocations: 15.94 kB / 0.5002 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-05/0.3422, allocations: 12 kB / 0.5002 GB, free: 5.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.3444, allocations: 0.8809 MB / 0.5011 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.3457, allocations: 339.4 kB / 0.5014 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/0.3585, allocations: 9.944 MB / 0.5111 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.3599, allocations: 143.7 kB / 0.5112 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.3601, allocations: 68.06 kB / 0.5113 GB, free: 10.02 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.001535/0.3616, allocations: 0.9214 MB / 0.5122 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.362, allocations: 202.9 kB / 0.5124 GB, free: 8.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005764/0.3677, allocations: 3.083 MB / 0.5154 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.3677, allocations: 11.91 kB / 0.5154 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3678, allocations: 3.938 kB / 0.5154 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.3689, allocations: 434.5 kB / 0.5158 GB, free: 5.332 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.3692, allocations: 39.98 kB / 0.5159 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009325/0.3701, allocations: 103.9 kB / 0.516 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004305/0.3706, allocations: 217.6 kB / 0.5162 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006838/0.3774, allocations: 3.257 MB / 0.5194 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005966/0.3834, allocations: 3.86 MB / 0.5231 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001741/0.3851, allocations: 1.093 MB / 0.5242 GB, free: 12.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.3869, allocations: 1.158 MB / 0.5253 GB, free: 11.58 MB / 446.1 MB Notification: Performance of Backend: time 3.1e-07/0.3869, allocations: 0 / 0.5253 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004669/0.3915, allocations: 2.254 MB / 0.5275 GB, free: 9.262 MB / 446.1 MB Notification: Performance of SimCode: time 0.009333/0.4009, allocations: 6.134 MB / 0.5335 GB, free: 3.078 MB / 446.1 MB Notification: Performance of Templates: time 0.2195/0.6203, allocations: 43.07 MB / 0.5756 GB, free: 72.45 MB / 446.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: 21.84637722500338]