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.001445/0.001445, allocations: 92.27 kB / 20.96 MB, free: 3.449 MB / 18.57 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.001536/0.001536, allocations: 156.9 kB / 24.26 MB, free: 152 kB / 18.57 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.45/1.45, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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 1.943e-06/1.943e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.971e-05, allocations: 2.312 kB / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01326/0.01328, allocations: 9.157 MB / 281.4 MB, free: 8.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007516/0.0208, allocations: 3.128 MB / 284.5 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.02242, allocations: 71.56 kB / 284.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.02437, allocations: 0.6946 MB / 285.3 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.02725, allocations: 0.9663 MB / 286.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.02831, allocations: 431.3 kB / 286.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.131/0.1593, allocations: 3.547 MB / 290.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002272/0.1616, allocations: 1.378 MB / 291.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004043/0.1656, allocations: 2.272 MB / 293.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/0.1691, allocations: 1.663 MB / 295.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009939/0.1701, allocations: 399.1 kB / 295.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.1716, allocations: 498 kB / 296.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.1727, allocations: 1.159 MB / 297.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.1746, allocations: 1.22 MB / 298.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.1803, allocations: 5.331 MB / 304.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.859e-05/0.1804, allocations: 0.5312 kB / 304.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1804, allocations: 1.281 kB / 304.1 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001795/0.1805, allocations: 0.9375 kB / 304.1 MB, free: 12.84 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.009208/0.1897, allocations: 3.515 MB / 307.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1898, allocations: 9.375 kB / 307.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.1912, allocations: 0.5979 MB / 308.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.1943, allocations: 1.948 MB / 310.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.1944, allocations: 201.9 kB / 310.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.1947, allocations: 259.9 kB / 310.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005019/0.1998, allocations: 3.636 MB / 314.3 MB, free: 5.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.166e-05/0.1998, allocations: 11.8 kB / 314.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/0.2001, allocations: 110.9 kB / 314.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.086e-05/0.2001, allocations: 112.9 kB / 314.5 MB, free: 5.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004211/0.2044, allocations: 3.084 MB / 317.6 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.2212, allocations: 9.581 MB / 327.2 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.2249, allocations: 2.044 MB / 329.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.2274, allocations: 1.292 MB / 330.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.2276, allocations: 61.27 kB / 330.5 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002085/0.2297, allocations: 1.247 MB / 331.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.317e-06/0.2297, allocations: 0 / 331.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.02379/0.2535, allocations: 8.508 MB / 340.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001806/0.2537, allocations: 184 kB / 340.5 MB, free: 11.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/0.2573, allocations: 1.716 MB / 342.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.2575, allocations: 57.7 kB / 342.3 MB, free: 9.906 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.2589, allocations: 1.232 MB / 343.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000695/0.2596, allocations: 0.5818 MB / 344.1 MB, free: 8.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006815/0.2603, allocations: 351.5 kB / 344.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.2605, allocations: 301.1 kB / 344.7 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.2624, allocations: 1.003 MB / 345.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.2647, allocations: 1.534 MB / 347.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004145/0.2689, allocations: 2.449 MB / 349.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.2689, allocations: 7.938 kB / 349.7 MB, free: 2.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006863/0.2758, allocations: 3.396 MB / 353.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.2758, allocations: 8 kB / 353.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/0.2758, allocations: 12 kB / 353.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002691/0.2785, allocations: 0.9817 MB / 354.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.2798, allocations: 339.7 kB / 354.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01441/0.2942, allocations: 9.974 MB / 364.4 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.2962, allocations: 131.9 kB / 364.5 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/0.2964, allocations: 68 kB / 364.6 MB, free: 3.094 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.001792/0.2981, allocations: 0.9297 MB / 365.5 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/0.2987, allocations: 258.7 kB / 365.8 MB, free: 1.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/0.3046, allocations: 3.08 MB / 368.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.3046, allocations: 16 kB / 368.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.3046, allocations: 8 kB / 368.9 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.3046, allocations: 15.95 kB / 368.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.3163, allocations: 5.564 MB / 374.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.3163, allocations: 4.281 kB / 374.5 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009522/0.3172, allocations: 210.6 kB / 374.7 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002855/0.3201, allocations: 1.004 MB / 375.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001447/0.3202, allocations: 43.97 kB / 375.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.3364, allocations: 11.45 MB / 387.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/0.3364, allocations: 7.469 kB / 387.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008809/0.3452, allocations: 4.539 MB / 391.7 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/0.3466, allocations: 426.5 kB / 392.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.3469, allocations: 39.98 kB / 392.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.3479, allocations: 95.89 kB / 392.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000553/0.3485, allocations: 208 kB / 392.5 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.3486, allocations: 47.98 kB / 392.5 MB, free: 6.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002161/0.3508, allocations: 1.162 MB / 393.7 MB, free: 5.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3508, allocations: 0 / 393.7 MB, free: 5.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002534/0.3533, allocations: 0.6366 MB / 394.3 MB, free: 4.996 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.0005176/0.3538, allocations: 212.8 kB / 394.5 MB, free: 4.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005752/0.3596, allocations: 2.997 MB / 397.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3596, allocations: 0 / 397.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003731/0.3633, allocations: 2.106 MB / 399.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.3662, allocations: 0.5452 MB / 400.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.3775, allocations: 5.683 MB / 405.9 MB, free: 9.395 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/0.3797, allocations: 1.63 MB / 407.5 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001578/0.3813, allocations: 440.5 kB / 407.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/0.3818, allocations: 124.5 kB / 408 MB, free: 7.176 MB / 362.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3818, allocations: 3.938 kB / 408 MB, free: 7.172 MB / 362.7 MB Notification: Performance of Templates: time 0.2125/0.5943, allocations: 37.77 MB / 445.8 MB, free: 114.7 MB / 378.7 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/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_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: 6.358292269986123]