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.001437/0.001437, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002868/0.002868, allocations: 157.7 kB / 24.26 MB, free: 172 kB / 18.57 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 2.174e-06/2.174e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.801e-05, allocations: 2.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01427/0.01431, allocations: 9.161 MB / 281.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008092/0.0224, allocations: 3.128 MB / 284.6 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.02436, allocations: 71.56 kB / 284.7 MB, free: 5.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.02712, allocations: 0.6985 MB / 285.4 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004077/0.0312, allocations: 0.9624 MB / 286.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.03255, allocations: 427.3 kB / 286.8 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1538/0.1863, allocations: 3.519 MB / 290.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002255/0.1886, allocations: 1.376 MB / 291.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.1925, allocations: 2.26 MB / 293.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003293/0.1958, allocations: 1.664 MB / 295.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001043/0.1968, allocations: 396.5 kB / 296 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.1982, allocations: 0.4883 MB / 296.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.1993, allocations: 1.156 MB / 297.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.2017, allocations: 1.225 MB / 298.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.2067, allocations: 5.328 MB / 304.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2067, allocations: 0.5312 kB / 304.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2067, allocations: 0 / 304.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.2068, allocations: 2.156 kB / 304.2 MB, free: 12.82 MB / 266.7 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.006765/0.2136, allocations: 3.518 MB / 307.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2136, allocations: 10.53 kB / 307.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.2149, allocations: 0.5919 MB / 308.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.2179, allocations: 1.952 MB / 310.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.218, allocations: 203.7 kB / 310.5 MB, free: 8.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003578/0.2184, allocations: 259.6 kB / 310.7 MB, free: 8.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005094/0.2234, allocations: 3.638 MB / 314.3 MB, free: 5.922 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.181e-05/0.2235, allocations: 7.953 kB / 314.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/0.2238, allocations: 108 kB / 314.5 MB, free: 5.809 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.2239, allocations: 112.9 kB / 314.6 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004851/0.2287, allocations: 3.088 MB / 317.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01938/0.2481, allocations: 9.565 MB / 327.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.2517, allocations: 2.046 MB / 329.3 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.2543, allocations: 1.305 MB / 330.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.2546, allocations: 57.28 kB / 330.6 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002218/0.2568, allocations: 1.241 MB / 331.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.587e-06/0.2568, allocations: 0 / 331.9 MB, free: 4.383 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.02279/0.2796, allocations: 8.509 MB / 340.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/0.2797, allocations: 184 kB / 340.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.2827, allocations: 1.716 MB / 342.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.2829, allocations: 57.7 kB / 342.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/0.2843, allocations: 1.231 MB / 343.6 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/0.285, allocations: 0.586 MB / 344.1 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000663/0.2856, allocations: 347.5 kB / 344.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2858, allocations: 305.1 kB / 344.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001896/0.2877, allocations: 0.9994 MB / 345.8 MB, free: 6.422 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.2902, allocations: 1.533 MB / 347.3 MB, free: 4.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004254/0.2944, allocations: 2.456 MB / 349.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.2944, allocations: 4 kB / 349.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.007117/0.3016, allocations: 3.388 MB / 353.2 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.3016, allocations: 15.98 kB / 353.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.3016, allocations: 8 kB / 353.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002843/0.3045, allocations: 0.9776 MB / 354.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.306, allocations: 336.6 kB / 354.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01476/0.3208, allocations: 9.985 MB / 364.5 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.3228, allocations: 131.9 kB / 364.6 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/0.3231, allocations: 68 kB / 364.7 MB, free: 3.066 MB / 314.7 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.002303/0.3254, allocations: 0.924 MB / 365.6 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007879/0.3262, allocations: 270.7 kB / 365.9 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006503/0.3327, allocations: 3.075 MB / 368.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.643e-05/0.3328, allocations: 19.98 kB / 369 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/0.3328, allocations: 12 kB / 369 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.3328, allocations: 7.969 kB / 369 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.3455, allocations: 5.564 MB / 374.5 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.3455, allocations: 8.281 kB / 374.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/0.3465, allocations: 206.5 kB / 374.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.3494, allocations: 1.003 MB / 375.8 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.3496, allocations: 43.97 kB / 375.8 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.3653, allocations: 11.45 MB / 387.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/0.3653, allocations: 7.984 kB / 387.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008743/0.374, allocations: 4.537 MB / 391.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.3754, allocations: 430 kB / 392.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/0.3757, allocations: 39.98 kB / 392.2 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3767, allocations: 95.89 kB / 392.3 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/0.3773, allocations: 211.8 kB / 392.5 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.3774, allocations: 40 kB / 392.6 MB, free: 6.766 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002028/0.3794, allocations: 1.166 MB / 393.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3794, allocations: 4 kB / 393.8 MB, free: 5.602 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002522/0.3819, allocations: 0.6328 MB / 394.4 MB, free: 4.969 MB / 346.7 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.0005262/0.3825, allocations: 210.4 kB / 394.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005728/0.3882, allocations: 3.005 MB / 397.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3882, allocations: 256 / 397.6 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/0.3922, allocations: 2.103 MB / 399.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002779/0.395, allocations: 0.5452 MB / 400.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.4058, allocations: 5.683 MB / 405.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.4081, allocations: 1.63 MB / 407.6 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001455/0.4095, allocations: 440.5 kB / 408 MB, free: 7.258 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.4099, allocations: 128.4 kB / 408.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of SimCode: time 1.243e-06/0.41, allocations: 0 / 408.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of Templates: time 0.1868/0.5968, allocations: 37.78 MB / 445.9 MB, free: 114.7 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins/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: 6.467650154023431]