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.00158/0.00158, allocations: 116.3 kB / 19.17 MB, free: 3.852 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.001542/0.001542, allocations: 205 kB / 22.12 MB, free: 0.9062 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.546/1.546, allocations: 230.2 MB / 255.2 MB, free: 15.22 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.001975/0.001975, allocations: 63.91 kB / 374.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09958, allocations: 53.34 MB / 427.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.2085/0.3081, allocations: 10.38 MB / 438.3 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006099/0.3142, allocations: 3.295 MB / 441.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.3161, allocations: 72.06 kB / 441.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.3183, allocations: 0.737 MB / 442.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.3217, allocations: 0.9152 MB / 443.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3229, allocations: 422.6 kB / 443.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004539/0.3274, allocations: 3.444 MB / 447.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.33, allocations: 1.879 MB / 449 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.3328, allocations: 1.574 MB / 450.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/0.337, allocations: 1.896 MB / 452.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.3382, allocations: 401 kB / 452.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.3401, allocations: 499.2 kB / 453.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.3417, allocations: 1.117 MB / 454.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00405/0.3457, allocations: 1.78 MB / 456.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007939/0.3537, allocations: 5.251 MB / 461.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.3537, allocations: 5.453 kB / 461.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3537, allocations: 0 / 461.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000194/0.3539, allocations: 0 / 461.5 MB, free: 10.17 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.01028/0.3642, allocations: 3.615 MB / 465.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3642, allocations: 9.25 kB / 465.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.3658, allocations: 411.8 kB / 465.6 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/0.37, allocations: 1.946 MB / 467.5 MB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.3702, allocations: 203.7 kB / 467.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/0.3707, allocations: 254 kB / 468 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006757/0.3775, allocations: 3.537 MB / 471.5 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.3775, allocations: 11.89 kB / 471.5 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.3778, allocations: 107.2 kB / 471.6 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.3779, allocations: 114.1 kB / 471.7 MB, free: 3.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005884/0.3838, allocations: 3.094 MB / 474.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.4032, allocations: 10.76 MB / 485.6 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003796/0.407, allocations: 2.958 MB / 488.5 MB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/0.4093, allocations: 1.302 MB / 489.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002713/0.4096, allocations: 122.4 kB / 490 MB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.4115, allocations: 1.148 MB / 491.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.146e-06/0.4115, allocations: 0 / 491.1 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02223/0.4337, allocations: 8.906 MB / 0.4883 GB, free: 7.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.4338, allocations: 176.2 kB / 0.4885 GB, free: 7.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/0.4371, allocations: 1.848 MB / 0.4903 GB, free: 5.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002902/0.4374, allocations: 53.7 kB / 0.4903 GB, free: 5.797 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.4386, allocations: 1.249 MB / 0.4915 GB, free: 4.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007333/0.4394, allocations: 0.5771 MB / 0.4921 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006224/0.44, allocations: 351.5 kB / 0.4924 GB, free: 3.602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4401, allocations: 305.1 kB / 0.4927 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/0.4419, allocations: 1.007 MB / 0.4937 GB, free: 2.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.4441, allocations: 1.434 MB / 0.4951 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003914/0.448, allocations: 2.45 MB / 0.4975 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.448, allocations: 4 kB / 0.4975 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006428/0.4544, allocations: 3.323 MB / 0.5008 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4545, allocations: 12 kB / 0.5008 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.4545, allocations: 12 kB / 0.5008 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.4567, allocations: 0.8759 MB / 0.5016 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.4581, allocations: 343.4 kB / 0.502 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.4713, allocations: 10.43 MB / 0.5122 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.4733, allocations: 139.9 kB / 0.5123 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.4735, allocations: 64 kB / 0.5124 GB, free: 14.45 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.001861/0.4754, allocations: 0.9253 MB / 0.5133 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/0.4759, allocations: 218.6 kB / 0.5135 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006265/0.4822, allocations: 3.091 MB / 0.5165 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.4822, allocations: 16 kB / 0.5165 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4822, allocations: 8 kB / 0.5165 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.4822, allocations: 7.969 kB / 0.5165 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.4942, allocations: 6.198 MB / 0.5226 GB, free: 3.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4942, allocations: 12.05 kB / 0.5226 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4952, allocations: 211.7 kB / 0.5228 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002471/0.4977, allocations: 0.9251 MB / 0.5237 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.4978, allocations: 47.92 kB / 0.5237 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01452/0.5124, allocations: 12.02 MB / 0.5355 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.5124, allocations: 7.938 kB / 0.5355 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008057/0.5204, allocations: 4.5 MB / 0.5399 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.5218, allocations: 0.4995 MB / 0.5404 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004264/0.5222, allocations: 39.98 kB / 0.5404 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.5234, allocations: 99.89 kB / 0.5405 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/0.524, allocations: 200.9 kB / 0.5407 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.5241, allocations: 47.98 kB / 0.5407 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002125/0.5262, allocations: 1.263 MB / 0.542 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5262, allocations: 0 / 0.542 GB, free: 15.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002501/0.5287, allocations: 0.6367 MB / 0.5426 GB, free: 14.7 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.0004769/0.5292, allocations: 210.2 kB / 0.5428 GB, free: 14.49 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005648/0.5348, allocations: 3.151 MB / 0.5459 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.515e-06/0.5348, allocations: 7.938 kB / 0.5459 GB, free: 11.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.5386, allocations: 2.129 MB / 0.5479 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003183/0.5417, allocations: 0.5786 MB / 0.5485 GB, free: 8.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.5526, allocations: 5.802 MB / 0.5542 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.5548, allocations: 2.153 MB / 0.5563 GB, free: 424 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007598/0.5555, allocations: 143.4 kB / 0.5564 GB, free: 280 kB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5555, allocations: 7.938 kB / 0.5564 GB, free: 272 kB / 462.1 MB Notification: Performance of Templates: time 0.3895/0.945, allocations: 103.7 MB / 0.6577 GB, free: 152.7 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.926207452081144]