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.001798/0.001798, allocations: 109.6 kB / 21.18 MB, free: 0.7188 MB / 14.72 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.002405/0.002405, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 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.635/1.635, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 59.91 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3672, allocations: 49.16 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.0112/0.3784, allocations: 9.839 MB / 406.2 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007459/0.3858, allocations: 3.166 MB / 409.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.388, allocations: 55.53 kB / 409.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.3903, allocations: 0.714 MB / 410.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003694/0.394, allocations: 0.8655 MB / 411 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3954, allocations: 399.6 kB / 411.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005229/0.4006, allocations: 3.099 MB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002253/0.4028, allocations: 1.292 MB / 415.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.4059, allocations: 1.406 MB / 417.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003397/0.4093, allocations: 1.73 MB / 418.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.4103, allocations: 362 kB / 419.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.4131, allocations: 456.6 kB / 419.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00185/0.4149, allocations: 1.012 MB / 420.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003729/0.4187, allocations: 1.605 MB / 422.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007862/0.4265, allocations: 4.73 MB / 427.1 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4265, allocations: 3.938 kB / 427.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4265, allocations: 0 / 427.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.4267, allocations: 0 / 427.1 MB, free: 4.48 MB / 334.1 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.009201/0.4359, allocations: 3.217 MB / 430.3 MB, free: 1.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.436, allocations: 15.98 kB / 430.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006279/0.4366, allocations: 341.2 kB / 430.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008847/0.4375, allocations: 335 kB / 431 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/0.4412, allocations: 1.576 MB / 432.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001848/0.4414, allocations: 176.5 kB / 432.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004182/0.4418, allocations: 231.9 kB / 432.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/0.448, allocations: 3.184 MB / 436.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.5e-05/0.448, allocations: 15.89 kB / 436.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.4483, allocations: 95.98 kB / 436.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.4484, allocations: 104.4 kB / 436.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005059/0.4535, allocations: 2.734 MB / 439.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.471, allocations: 9.665 MB / 448.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.4736, allocations: 1.537 MB / 450.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/0.4757, allocations: 1.132 MB / 451.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.4759, allocations: 44.97 kB / 451.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.476, allocations: 47.5 kB / 451.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.306e-06/0.476, allocations: 0 / 451.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01878/0.4947, allocations: 7.716 MB / 459.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.4948, allocations: 68.72 kB / 459.3 MB, free: 3.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.4978, allocations: 1.676 MB / 461 MB, free: 2.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001574/0.4979, allocations: 49.7 kB / 461 MB, free: 1.973 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001115/0.4991, allocations: 1.116 MB / 462.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005695/0.4996, allocations: 0.4958 MB / 462.6 MB, free: 352 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005662/0.5002, allocations: 291.5 kB / 462.9 MB, free: 52 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5004, allocations: 301.1 kB / 463.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/0.5019, allocations: 0.9135 MB / 464.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.5036, allocations: 1.263 MB / 465.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/0.5072, allocations: 2.254 MB / 467.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5072, allocations: 4 kB / 467.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005624/0.5128, allocations: 3.03 MB / 470.7 MB, free: 7.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.5129, allocations: 8 kB / 470.7 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.5129, allocations: 12 kB / 470.7 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/0.5151, allocations: 0.8521 MB / 471.5 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5165, allocations: 303.5 kB / 471.8 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.5289, allocations: 9.616 MB / 481.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.5306, allocations: 100.1 kB / 481.5 MB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.5307, allocations: 56 kB / 481.6 MB, free: 12.68 MB / 398.1 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.001787/0.5325, allocations: 0.8173 MB / 482.4 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.533, allocations: 186.8 kB / 482.6 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/0.5382, allocations: 2.827 MB / 485.4 MB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.5382, allocations: 16 kB / 485.4 MB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.5382, allocations: 12 kB / 485.5 MB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.5382, allocations: 11.91 kB / 485.5 MB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/0.5489, allocations: 5.625 MB / 491.1 MB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.5489, allocations: 7.938 kB / 491.1 MB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.5498, allocations: 187.7 kB / 491.3 MB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.5523, allocations: 0.9019 MB / 492.2 MB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.5524, allocations: 35.98 kB / 492.2 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.5662, allocations: 11.14 MB / 0.4916 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5662, allocations: 4 kB / 0.4916 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007519/0.5737, allocations: 4.135 MB / 0.4956 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/0.5753, allocations: 398.7 kB / 0.496 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.5756, allocations: 32 kB / 0.496 GB, free: 1.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/0.5765, allocations: 79.91 kB / 0.4961 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/0.577, allocations: 156.9 kB / 0.4962 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.5771, allocations: 39.98 kB / 0.4963 GB, free: 1.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001879/0.5789, allocations: 1.149 MB / 0.4974 GB, free: 268 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5789, allocations: 0 / 0.4974 GB, free: 268 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002291/0.5812, allocations: 0.5586 MB / 0.4979 GB, free: 15.7 MB / 430.1 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.007618/0.5888, allocations: 4.776 MB / 0.5026 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005221/0.5941, allocations: 2.753 MB / 0.5053 GB, free: 8.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.5941, allocations: 4 kB / 0.5053 GB, free: 8.055 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003459/0.5975, allocations: 1.901 MB / 0.5072 GB, free: 6.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.6003, allocations: 0.5093 MB / 0.5076 GB, free: 5.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03706/0.6373, allocations: 20.42 MB / 0.5276 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/0.6395, allocations: 2.016 MB / 0.5296 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001391/0.6409, allocations: 411.3 kB / 0.5299 GB, free: 14.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.6422, allocations: 0.8859 MB / 0.5308 GB, free: 13.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.402e-06/0.6422, allocations: 0 / 0.5308 GB, free: 13.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3529/0.9951, allocations: 54.39 MB / 0.5839 GB, free: 143 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.17/27.17, allocations: 3.938 kB / 0.5839 GB, free: 143 MB / 478.1 MB " [Timeout remaining time 633] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 34.287712190067396]