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.001234/0.001234, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.001367/0.001367, allocations: 166.9 kB / 25.61 MB, free: 8.91 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 1.02/1.02, allocations: 158.6 MB / 187.5 MB, free: 2.797 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 1.673e-06/1.673e-06, allocations: 0 / 251.5 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.231e-05, allocations: 2.312 kB / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.008314/0.008336, allocations: 9.472 MB / 261 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005604/0.01394, allocations: 3.082 MB / 264 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001346/0.01529, allocations: 55.62 kB / 264.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.01673, allocations: 0.6716 MB / 264.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.01894, allocations: 0.9003 MB / 265.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008936/0.01983, allocations: 395.4 kB / 266 MB, free: 8.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.02351, allocations: 3.197 MB / 269.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.02541, allocations: 1.265 MB / 270.5 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/0.02899, allocations: 2.222 MB / 272.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.03155, allocations: 1.574 MB / 274.3 MB, free: 256 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009279/0.03248, allocations: 352 kB / 274.7 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001284/0.03376, allocations: 435.8 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007835/0.03455, allocations: 1.013 MB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.03585, allocations: 1.099 MB / 277.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.03851, allocations: 2.589 MB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.03851, allocations: 7.938 kB / 279.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.03852, allocations: 4 kB / 279.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.545e-05/0.03858, allocations: 0 / 279.8 MB, free: 10.75 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.003792/0.04237, allocations: 3.239 MB / 283 MB, free: 7.461 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.04242, allocations: 15.98 kB / 283 MB, free: 7.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007353/0.04315, allocations: 0.5107 MB / 283.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.04469, allocations: 1.391 MB / 284.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.0448, allocations: 172.9 kB / 285.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.04504, allocations: 232.3 kB / 285.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.04713, allocations: 1.785 MB / 287.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/0.04717, allocations: 7.984 kB / 287.1 MB, free: 3.164 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.0473, allocations: 92 kB / 287.2 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-05/0.04737, allocations: 100.4 kB / 287.3 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009839/0.04836, allocations: 0.6759 MB / 288 MB, free: 2.258 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008695/0.05705, allocations: 7.928 MB / 295.9 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.05811, allocations: 0.7693 MB / 296.7 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.05888, allocations: 494.2 kB / 297.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.05904, allocations: 48.97 kB / 297.2 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.05908, allocations: 58.33 kB / 297.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 3.657e-06/0.05908, allocations: 0 / 297.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.007965/0.06705, allocations: 3.497 MB / 300.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.06708, allocations: 64.72 kB / 300.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.06853, allocations: 1.321 MB / 302.2 MB, free: 3.707 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/0.0686, allocations: 45.7 kB / 302.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007804/0.06938, allocations: 1.224 MB / 303.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000371/0.06975, allocations: 0.5191 MB / 304 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/0.07017, allocations: 317 kB / 304.3 MB, free: 1.578 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.07029, allocations: 476.8 kB / 304.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.07067, allocations: 195.8 kB / 304.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.0714, allocations: 0.7144 MB / 305.6 MB, free: 8 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.07286, allocations: 1.03 MB / 306.7 MB, free: 14.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.136e-06/0.07286, allocations: 4 kB / 306.7 MB, free: 14.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002275/0.07514, allocations: 1.397 MB / 308.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.07516, allocations: 8 kB / 308.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.07518, allocations: 12 kB / 308.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.07638, allocations: 455.1 kB / 308.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.07712, allocations: 283.5 kB / 308.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005954/0.08308, allocations: 7.562 MB / 316.4 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/0.08384, allocations: 55.94 kB / 316.4 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.785e-05/0.08393, allocations: 51.98 kB / 316.5 MB, free: 4.59 MB / 298.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.0005487/0.08448, allocations: 259.5 kB / 316.7 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/0.08479, allocations: 218.9 kB / 316.9 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/0.08683, allocations: 1.243 MB / 318.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.08684, allocations: 12 kB / 318.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.08685, allocations: 12 kB / 318.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.08686, allocations: 7.969 kB / 318.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.09139, allocations: 2.873 MB / 321.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.525e-06/0.0914, allocations: 4 kB / 321.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.09192, allocations: 167.8 kB / 321.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.09323, allocations: 0.4979 MB / 321.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/0.09332, allocations: 31.98 kB / 321.8 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006331/0.09965, allocations: 9.269 MB / 331.1 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.09966, allocations: 7.938 kB / 331.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/0.1022, allocations: 1.711 MB / 332.8 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.1027, allocations: 306.7 kB / 333.1 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.1029, allocations: 32 kB / 333.1 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.1034, allocations: 47.97 kB / 333.1 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.1037, allocations: 129 kB / 333.3 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.736e-05/0.1037, allocations: 28 kB / 333.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007249/0.1045, allocations: 0.7122 MB / 334 MB, free: 2.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1045, allocations: 4 kB / 334 MB, free: 2.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001516/0.106, allocations: 0.5546 MB / 334.6 MB, free: 1.781 MB / 314.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.0002954/0.1063, allocations: 195 kB / 334.8 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.1082, allocations: 1.655 MB / 336.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1082, allocations: 4 kB / 336.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.1096, allocations: 1.436 MB / 337.9 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.111, allocations: 479.1 kB / 338.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005934/0.1169, allocations: 4.233 MB / 342.6 MB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006465/0.1176, allocations: 0.6713 MB / 343.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004852/0.1181, allocations: 214.3 kB / 343.4 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008324/0.1189, allocations: 493.9 kB / 343.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.1189, allocations: 0 / 343.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of Templates: time 0.1469/0.2658, allocations: 33.74 MB / 377.7 MB, free: 78.21 MB / 330.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.8792068981565535]