Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001048/0.001048, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.0009956/0.0009956, allocations: 173.6 kB / 25.33 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.862/0.862, allocations: 158.6 MB / 187.2 MB, free: 2.492 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 251.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.428e-05, allocations: 2.312 kB / 251.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.008388/0.008413, allocations: 9.728 MB / 260.8 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005161/0.01357, allocations: 3.101 MB / 263.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.01439, allocations: 59.56 kB / 264 MB, free: 6.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.01568, allocations: 0.6639 MB / 264.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.01743, allocations: 0.8925 MB / 265.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006113/0.01804, allocations: 395.4 kB / 265.9 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.02041, allocations: 3.212 MB / 269.1 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.02179, allocations: 1.265 MB / 270.4 MB, free: 108 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.0236, allocations: 2.214 MB / 272.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.02486, allocations: 1.563 MB / 274.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002953/0.02515, allocations: 352 kB / 274.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.02568, allocations: 443.8 kB / 274.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005666/0.02625, allocations: 1.013 MB / 275.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007652/0.02701, allocations: 1.095 MB / 277 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.02929, allocations: 2.601 MB / 279.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.0293, allocations: 0 / 279.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0293, allocations: 0 / 279.6 MB, free: 6.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.407e-05/0.02932, allocations: 0 / 279.6 MB, free: 6.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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.003391/0.03271, allocations: 3.345 MB / 283 MB, free: 3.422 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.03275, allocations: 15.98 kB / 283 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.03356, allocations: 0.5107 MB / 283.5 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.03537, allocations: 1.488 MB / 285 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.03548, allocations: 176.9 kB / 285.2 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.03571, allocations: 232.3 kB / 285.4 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.03812, allocations: 1.927 MB / 287.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/0.03816, allocations: 4 kB / 287.3 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.03831, allocations: 95.98 kB / 287.4 MB, free: 14.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.898e-05/0.03839, allocations: 104.4 kB / 287.5 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.03994, allocations: 0.8651 MB / 288.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00733/0.04727, allocations: 8.05 MB / 296.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009898/0.04826, allocations: 0.8428 MB / 297.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.04899, allocations: 0.5343 MB / 297.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.04914, allocations: 60.95 kB / 297.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.04917, allocations: 46.39 kB / 297.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 3.005e-06/0.04918, allocations: 0 / 297.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.1206/0.1698, allocations: 4.187 MB / 302.1 MB, free: 50.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.1699, allocations: 69.78 kB / 302.2 MB, free: 50.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.1716, allocations: 1.356 MB / 303.5 MB, free: 50.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002139/0.1718, allocations: 48.3 kB / 303.6 MB, free: 50.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/0.1727, allocations: 1.209 MB / 304.8 MB, free: 50.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003385/0.173, allocations: 0.5066 MB / 305.3 MB, free: 49.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.1733, allocations: 308.8 kB / 305.6 MB, free: 49.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.644e-05/0.1734, allocations: 478.6 kB / 306.1 MB, free: 49.32 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.1739, allocations: 260.3 kB / 306.3 MB, free: 49.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.1746, allocations: 0.7655 MB / 307.1 MB, free: 48.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.1758, allocations: 1.14 MB / 308.2 MB, free: 48.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.1758, allocations: 2.875 kB / 308.2 MB, free: 48.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00247/0.1783, allocations: 1.556 MB / 309.8 MB, free: 47.95 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.1783, allocations: 9.875 kB / 309.8 MB, free: 47.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.1783, allocations: 10.84 kB / 309.8 MB, free: 47.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.1796, allocations: 473.4 kB / 310.3 MB, free: 47.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.1803, allocations: 302.7 kB / 310.6 MB, free: 47.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.185, allocations: 7.814 MB / 318.4 MB, free: 41.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/0.1857, allocations: 85.36 kB / 318.5 MB, free: 41.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/0.1858, allocations: 61.8 kB / 318.5 MB, free: 41.72 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004419/0.1862, allocations: 253.3 kB / 318.8 MB, free: 41.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.1865, allocations: 233.6 kB / 319 MB, free: 41.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00172/0.1882, allocations: 1.355 MB / 320.4 MB, free: 40.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1882, allocations: 12.2 kB / 320.4 MB, free: 40.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1882, allocations: 11.59 kB / 320.4 MB, free: 40.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.1882, allocations: 11.67 kB / 320.4 MB, free: 40.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/0.192, allocations: 3.463 MB / 323.8 MB, free: 39.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.192, allocations: 1.875 kB / 323.9 MB, free: 39.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004309/0.1925, allocations: 180.6 kB / 324 MB, free: 39.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.1935, allocations: 0.5097 MB / 324.5 MB, free: 39.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/0.1936, allocations: 33.86 kB / 324.6 MB, free: 39.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004195/0.1978, allocations: 9.545 MB / 334.1 MB, free: 30.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1978, allocations: 3.469 kB / 334.1 MB, free: 30.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.1998, allocations: 1.888 MB / 336 MB, free: 29.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.2002, allocations: 346.7 kB / 336.3 MB, free: 28.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.2004, allocations: 27.98 kB / 336.4 MB, free: 28.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.2007, allocations: 67.94 kB / 336.4 MB, free: 28.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/0.201, allocations: 149 kB / 336.6 MB, free: 28.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.201, allocations: 39.98 kB / 336.6 MB, free: 28.47 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006019/0.2016, allocations: 0.7787 MB / 337.4 MB, free: 27.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2016, allocations: 0 / 337.4 MB, free: 27.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001103/0.2027, allocations: 0.5527 MB / 338 MB, free: 27.14 MB / 282.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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,19,33.3%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002571/0.203, allocations: 191.1 kB / 338.1 MB, free: 26.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.2047, allocations: 1.8 MB / 339.9 MB, free: 25.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2047, allocations: 4.062 kB / 339.9 MB, free: 25.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.2058, allocations: 1.525 MB / 341.5 MB, free: 23.49 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2068, allocations: 472.8 kB / 341.9 MB, free: 23.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.211, allocations: 4.29 MB / 346.2 MB, free: 18.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.2114, allocations: 0.6674 MB / 346.9 MB, free: 17.98 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005122/0.2119, allocations: 322.2 kB / 347.2 MB, free: 17.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.2121, allocations: 112.5 kB / 347.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2121, allocations: 0 / 347.3 MB, free: 17.55 MB / 282.7 MB Notification: Performance of Templates: time 0.03396/0.2461, allocations: 33.21 MB / 380.5 MB, free: 348 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7499808771535754]