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.0009957/0.0009957, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009428/0.0009428, allocations: 158.9 kB / 25.75 MB, free: 8.949 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.9622/0.9622, allocations: 158.6 MB / 187.5 MB, free: 2.953 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.402e-06/1.402e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.397e-05, allocations: 10.19 kB / 251.1 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.02242/0.02244, allocations: 9.663 MB / 260.8 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005538/0.02798, allocations: 3.109 MB / 263.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008451/0.02882, allocations: 51.62 kB / 264 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.03012, allocations: 0.6716 MB / 264.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.03196, allocations: 0.8965 MB / 265.5 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006909/0.03265, allocations: 391.4 kB / 265.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.03547, allocations: 3.197 MB / 269.1 MB, free: 5.723 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.03697, allocations: 1.265 MB / 270.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.03926, allocations: 2.058 MB / 272.4 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.04131, allocations: 1.625 MB / 274.1 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006415/0.04195, allocations: 360 kB / 274.4 MB, free: 360 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006261/0.04257, allocations: 455.8 kB / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006788/0.04325, allocations: 1.056 MB / 275.9 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.04438, allocations: 1.111 MB / 277 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.04699, allocations: 2.64 MB / 279.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.047, allocations: 0 / 279.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.047, allocations: 0 / 279.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.059e-05/0.04706, allocations: 0 / 279.7 MB, free: 11.09 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.003963/0.05102, allocations: 3.399 MB / 283.1 MB, free: 7.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.05106, allocations: 15.98 kB / 283.1 MB, free: 7.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007863/0.05185, allocations: 0.5068 MB / 283.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.05408, allocations: 1.481 MB / 285.1 MB, free: 5.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.05417, allocations: 168.9 kB / 285.2 MB, free: 5.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.05441, allocations: 240.3 kB / 285.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.05698, allocations: 1.938 MB / 287.4 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.741e-05/0.05703, allocations: 7.953 kB / 287.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.05718, allocations: 92 kB / 287.5 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.611e-05/0.05727, allocations: 104.4 kB / 287.6 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.05896, allocations: 0.8651 MB / 288.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008884/0.06784, allocations: 8.148 MB / 296.6 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.06895, allocations: 0.8314 MB / 297.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008187/0.06977, allocations: 0.5296 MB / 298 MB, free: 8.223 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001761/0.06995, allocations: 52.97 kB / 298 MB, free: 8.172 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.06998, allocations: 54.31 kB / 298.1 MB, free: 8.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 3.547e-06/0.06999, allocations: 0 / 298.1 MB, free: 8.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.008079/0.07807, allocations: 4.225 MB / 302.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.07811, allocations: 64.72 kB / 302.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.07952, allocations: 1.36 MB / 303.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-05/0.0796, allocations: 53.7 kB / 303.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.0802, allocations: 1.204 MB / 305 MB, free: 1.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.08049, allocations: 0.5036 MB / 305.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003215/0.08081, allocations: 309.1 kB / 305.8 MB, free: 280 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003805/0.08119, allocations: 484.8 kB / 306.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.08167, allocations: 259.8 kB / 306.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006824/0.08235, allocations: 0.7731 MB / 307.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.08357, allocations: 1.144 MB / 308.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.08358, allocations: 0 / 308.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002328/0.08591, allocations: 1.549 MB / 310 MB, free: 11.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.08593, allocations: 12 kB / 310 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.08595, allocations: 8 kB / 310 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.08706, allocations: 479 kB / 310.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.08771, allocations: 307.5 kB / 310.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005782/0.09349, allocations: 7.828 MB / 318.6 MB, free: 2.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/0.09437, allocations: 99.89 kB / 318.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/0.09445, allocations: 56 kB / 318.7 MB, free: 2.512 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.0005891/0.09504, allocations: 252.2 kB / 319 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/0.09531, allocations: 226.8 kB / 319.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.09764, allocations: 1.368 MB / 320.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.09765, allocations: 16 kB / 320.6 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.09765, allocations: 4 kB / 320.6 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.09766, allocations: 15.84 kB / 320.6 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00452/0.1022, allocations: 3.5 MB / 324.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1022, allocations: 3.984 kB / 324.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.1027, allocations: 191.8 kB / 324.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.1038, allocations: 0.5155 MB / 324.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-05/0.1039, allocations: 35.98 kB / 324.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006253/0.1102, allocations: 9.611 MB / 334.5 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1102, allocations: 4 kB / 334.5 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.1132, allocations: 1.899 MB / 336.4 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006219/0.1138, allocations: 354.8 kB / 336.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/0.114, allocations: 31.98 kB / 336.7 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000464/0.1145, allocations: 75.92 kB / 336.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/0.1148, allocations: 145 kB / 337 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.1149, allocations: 51.73 kB / 337 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00098/0.1158, allocations: 0.7827 MB / 337.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1158, allocations: 0 / 337.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0016/0.1174, allocations: 0.5547 MB / 338.4 MB, free: 14.14 MB / 330.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%), (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.000328/0.1178, allocations: 194.2 kB / 338.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.1201, allocations: 1.806 MB / 340.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.1201, allocations: 0 / 340.3 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001813/0.1219, allocations: 1.558 MB / 341.9 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.1233, allocations: 474.5 kB / 342.4 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.1291, allocations: 4.308 MB / 346.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.1297, allocations: 0.675 MB / 347.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007938/0.1305, allocations: 310.2 kB / 347.7 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/0.1308, allocations: 112.5 kB / 347.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of SimCode: time 2.314e-06/0.1308, allocations: 0 / 347.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of Templates: time 0.1357/0.2665, allocations: 32.59 MB / 380.4 MB, free: 70.52 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: 4.000704633072019]