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.00202/0.00202, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.002098/0.002098, allocations: 160.8 kB / 24.27 MB, free: 156 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.588/1.588, allocations: 177 MB / 204.5 MB, free: 5.621 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 2.073e-06/2.073e-06, allocations: 0 / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.252e-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.01551/0.01555, allocations: 10.21 MB / 282.4 MB, free: 7.535 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007266/0.02281, allocations: 3.233 MB / 285.7 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.02464, allocations: 67.56 kB / 285.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002531/0.02718, allocations: 0.7024 MB / 286.4 MB, free: 3.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003268/0.03044, allocations: 0.9585 MB / 287.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.03164, allocations: 427.3 kB / 287.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1362/0.1679, allocations: 3.554 MB / 291.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002565/0.1705, allocations: 1.381 MB / 292.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004919/0.1754, allocations: 2.291 MB / 295 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/0.1801, allocations: 1.793 MB / 296.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.1817, allocations: 397.6 kB / 297.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.1843, allocations: 494.3 kB / 297.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.1862, allocations: 1.167 MB / 298.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004443/0.1906, allocations: 1.238 MB / 300.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007054/0.1977, allocations: 5.353 MB / 305.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.036e-06/0.1977, allocations: 0 / 305.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.1977, allocations: 0.8125 kB / 305.4 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002009/0.1979, allocations: 0 / 305.4 MB, free: 12.07 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.01025/0.2082, allocations: 4.007 MB / 309.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.2082, allocations: 10.53 kB / 309.5 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.2098, allocations: 0.5973 MB / 310.1 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.2138, allocations: 1.811 MB / 311.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.214, allocations: 197.4 kB / 312.1 MB, free: 7.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004757/0.2144, allocations: 260.4 kB / 312.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/0.2198, allocations: 3.44 MB / 315.8 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.133e-05/0.2199, allocations: 15.8 kB / 315.8 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.2201, allocations: 108.8 kB / 315.9 MB, free: 4.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-05/0.2202, allocations: 116.9 kB / 316 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.2241, allocations: 2.453 MB / 318.4 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02458/0.2487, allocations: 12.61 MB / 331.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.252, allocations: 1.639 MB / 332.7 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.2542, allocations: 0.9808 MB / 333.7 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/0.2545, allocations: 57.28 kB / 333.7 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/0.2564, allocations: 1.076 MB / 334.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.907e-06/0.2564, allocations: 0 / 334.8 MB, free: 1.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.01918/0.2756, allocations: 6.145 MB / 341 MB, free: 10.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.2758, allocations: 180.2 kB / 341.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.2795, allocations: 2.081 MB / 343.2 MB, free: 8.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001849/0.2797, allocations: 57.45 kB / 343.3 MB, free: 8.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.2813, allocations: 1.392 MB / 344.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007863/0.2821, allocations: 0.6336 MB / 345.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008094/0.2829, allocations: 441.1 kB / 345.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.2832, allocations: 480.7 kB / 346.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.2846, allocations: 0.6129 MB / 346.8 MB, free: 4.984 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.2867, allocations: 1.378 MB / 348.2 MB, free: 3.363 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.2903, allocations: 1.971 MB / 350.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2903, allocations: 0 / 350.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006041/0.2963, allocations: 2.477 MB / 352.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.084e-05/0.2964, allocations: 8 kB / 352.6 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.2964, allocations: 12.53 kB / 352.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.2987, allocations: 0.6355 MB / 353.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.3001, allocations: 340.7 kB / 353.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.3131, allocations: 9.574 MB / 363.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.3151, allocations: 135.8 kB / 363.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.3152, allocations: 68 kB / 363.4 MB, free: 3.738 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.00195/0.3172, allocations: 0.7876 MB / 364.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005659/0.3177, allocations: 258.7 kB / 364.4 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/0.3227, allocations: 2.168 MB / 366.6 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.3227, allocations: 19.56 kB / 366.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.3228, allocations: 11.98 kB / 366.6 MB, free: 0.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/0.3228, allocations: 7.969 kB / 366.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/0.3349, allocations: 5.181 MB / 371.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.3349, allocations: 4 kB / 371.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.3359, allocations: 202 kB / 372 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.3384, allocations: 0.6828 MB / 372.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.3386, allocations: 39.98 kB / 372.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.3532, allocations: 11.12 MB / 383.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3532, allocations: 7.188 kB / 383.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007351/0.3605, allocations: 3.066 MB / 386.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/0.3621, allocations: 394.5 kB / 387.3 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/0.3625, allocations: 39.98 kB / 387.4 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.3636, allocations: 103.9 kB / 387.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006014/0.3642, allocations: 200.4 kB / 387.7 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.3643, allocations: 51.97 kB / 387.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002203/0.3665, allocations: 1.193 MB / 388.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3665, allocations: 0 / 388.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002424/0.3689, allocations: 0.6328 MB / 389.5 MB, free: 9.07 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.0004914/0.3694, allocations: 209.5 kB / 389.7 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005223/0.3746, allocations: 2.591 MB / 392.3 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3746, allocations: 4.062 kB / 392.3 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.3784, allocations: 1.946 MB / 394.3 MB, free: 4.262 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.3811, allocations: 0.5473 MB / 394.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009994/0.3911, allocations: 5.101 MB / 399.9 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/0.3931, allocations: 1.509 MB / 401.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001221/0.3943, allocations: 348.5 kB / 401.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.3947, allocations: 124.5 kB / 401.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.3947, allocations: 0 / 401.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Templates: time 0.1978/0.5925, allocations: 37.88 MB / 439.8 MB, free: 117.4 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] 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.612022198969498]