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.00176/0.00176, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002226/0.002226, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.349/1.349, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.001775/0.001775, allocations: 55.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2576, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.008956/0.2666, allocations: 8.643 MB / 405 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005887/0.2725, allocations: 2.976 MB / 408 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.2741, allocations: 57.75 kB / 408 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002032/0.2762, allocations: 0.6566 MB / 408.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.279, allocations: 0.8655 MB / 409.6 MB, free: 200 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2801, allocations: 396.5 kB / 409.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004812/0.2849, allocations: 3.103 MB / 413 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.2868, allocations: 1.243 MB / 414.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/0.2891, allocations: 1.416 MB / 415.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.2918, allocations: 1.66 MB / 417.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005453/0.2924, allocations: 365.2 kB / 417.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009369/0.2933, allocations: 446.3 kB / 418.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.2943, allocations: 1.011 MB / 419.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.2958, allocations: 1.298 MB / 420.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.3007, allocations: 4.757 MB / 425.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3007, allocations: 0 / 425.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3007, allocations: 0 / 425.2 MB, free: 6.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.134e-05/0.3008, allocations: 7.875 kB / 425.2 MB, free: 6.137 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.00634/0.3072, allocations: 3.217 MB / 428.5 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3072, allocations: 11.98 kB / 428.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004371/0.3076, allocations: 333.2 kB / 428.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.3084, allocations: 335 kB / 429.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003128/0.3115, allocations: 1.591 MB / 430.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.3116, allocations: 172.5 kB / 430.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.312, allocations: 228 kB / 431.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005198/0.3172, allocations: 3.285 MB / 434.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/0.3172, allocations: 11.89 kB / 434.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.3175, allocations: 92 kB / 434.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.3176, allocations: 104.4 kB / 434.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004729/0.3223, allocations: 2.742 MB / 437.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.3378, allocations: 8.916 MB / 446.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002448/0.3402, allocations: 1.536 MB / 447.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.3422, allocations: 1.128 MB / 448.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.3424, allocations: 40.97 kB / 448.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.3425, allocations: 51.56 kB / 449 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.477e-06/0.3425, allocations: 0 / 449 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01814/0.3606, allocations: 7.709 MB / 456.7 MB, free: 6.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.3607, allocations: 64.72 kB / 456.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.3632, allocations: 1.692 MB / 458.5 MB, free: 4.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.3633, allocations: 49.7 kB / 458.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009167/0.3642, allocations: 1.119 MB / 459.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004518/0.3647, allocations: 0.4958 MB / 460.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/0.3652, allocations: 299.5 kB / 460.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3653, allocations: 305.1 kB / 460.7 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.3668, allocations: 0.9056 MB / 461.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.3686, allocations: 1.267 MB / 462.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.372, allocations: 2.254 MB / 465.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.372, allocations: 4 kB / 465.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00552/0.3775, allocations: 3.03 MB / 468.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3776, allocations: 8 kB / 468.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.3776, allocations: 12 kB / 468.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002087/0.3797, allocations: 0.8413 MB / 469 MB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.3808, allocations: 311.5 kB / 469.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/0.3929, allocations: 9.506 MB / 478.8 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.3944, allocations: 99.86 kB / 478.9 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.3945, allocations: 63.98 kB / 479 MB, free: 15.05 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.001514/0.396, allocations: 0.8253 MB / 479.8 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/0.3964, allocations: 190.8 kB / 480 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.4015, allocations: 2.827 MB / 482.8 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.4015, allocations: 12 kB / 482.9 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.4015, allocations: 8 kB / 482.9 MB, free: 11.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.4015, allocations: 7.969 kB / 482.9 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/0.4125, allocations: 5.352 MB / 488.2 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.4125, allocations: 0 / 488.2 MB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008689/0.4134, allocations: 196 kB / 488.4 MB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/0.4157, allocations: 0.8899 MB / 489.3 MB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.4158, allocations: 39.97 kB / 489.3 MB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.4291, allocations: 11.02 MB / 0.4886 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4291, allocations: 0 / 0.4886 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007005/0.4361, allocations: 4.143 MB / 0.4927 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.4374, allocations: 394.6 kB / 0.4931 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.4376, allocations: 35.98 kB / 0.4931 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008955/0.4385, allocations: 79.91 kB / 0.4932 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/0.4389, allocations: 149 kB / 0.4933 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.886e-05/0.439, allocations: 39.98 kB / 0.4934 GB, free: 4.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.4408, allocations: 1.153 MB / 0.4945 GB, free: 3.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4408, allocations: 0 / 0.4945 GB, free: 3.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001852/0.4427, allocations: 0.5585 MB / 0.495 GB, free: 2.477 MB / 414.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.007229/0.4499, allocations: 4.788 MB / 0.4997 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004794/0.4547, allocations: 2.754 MB / 0.5024 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.4547, allocations: 0 / 0.5024 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003118/0.4578, allocations: 1.9 MB / 0.5042 GB, free: 8.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.46, allocations: 0.5054 MB / 0.5047 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03287/0.4929, allocations: 20.4 MB / 0.5247 GB, free: 3.355 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.4948, allocations: 1.464 MB / 0.5261 GB, free: 1.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001311/0.4961, allocations: 403.3 kB / 0.5265 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/0.4974, allocations: 0.8859 MB / 0.5273 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4974, allocations: 0 / 0.5273 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/0.7826, allocations: 56.62 MB / 0.5826 GB, free: 144.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.35, allocations: 7.969 kB / 0.5826 GB, free: 144.4 MB / 478.1 MB " [Timeout remaining time 647] (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: 19.761882015969604]